From 3963eb0d7076b543c4d01224cf406fd964a7c91e Mon Sep 17 00:00:00 2001 From: Steve Leonard Date: Sat, 12 Oct 2013 05:55:17 -0400 Subject: [PATCH 1/2] fix typo in docs --- docs/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.rst b/docs/index.rst index 6a5cd07..23bdd13 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -160,7 +160,7 @@ Set timeout to "del" to delete cached value:: {% cache 'del' %}... -If keys are provided, you may easily generate the tempalte fragment key and +If keys are provided, you may easily generate the template fragment key and delete it from outside of the template context:: from flask.ext.cache import make_template_fragment_key From a6dfd5688eff1fab93c424998073bc4b9681800a Mon Sep 17 00:00:00 2001 From: Steve Leonard Date: Sat, 12 Oct 2013 05:58:55 -0400 Subject: [PATCH 2/2] more doc typos fixed --- docs/index.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/index.rst b/docs/index.rst index 23bdd13..3935a85 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -207,8 +207,8 @@ Here's an example script to empty your application's cache: .. warning:: - Some backend implementation do not support completely clearing the case. - Also, if you're not using key prefix, some implementation (e.g. Redis) + Some backend implementations do not support completely clearing the cache. + Also, if you're not using a key prefix, some implementations (e.g. Redis) will flush the whole database. Make sure you're not storing any other data in your caching database.