git » blitiri » commit 47dc309

Improve cache_path option comments

author Alberto Bertogli
2008-09-01 16:29:09 UTC
committer Alberto Bertogli
2008-09-01 16:29:09 UTC
parent ac9276d7da9b8d68fbae611d1fc8c62d5d721b5d

Improve cache_path option comments

Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>

blitiri.cgi +5 -3
config.py.sample +5 -2

diff --git a/blitiri.cgi b/blitiri.cgi
index 21d13fa..df29205 100755
--- a/blitiri.cgi
+++ b/blitiri.cgi
@@ -24,9 +24,11 @@ comments_path = "/tmp/blog/comments"
 # default templates. If they're not found, the built-in ones will be used.
 templates_path = "/tmp/blog/templates"
 
-# Path where the cache is stored (must be writeable by the web server)
-# If None is specified, cache is disabled
-cache_path = "/tmp/blog/cache"
+# Path where the cache is stored (must be writeable by the web server);
+# set to None to disable. When enabled, you must take care of cleaning it up
+# every once in a while.
+#cache_path = "/tmp/blog/cache"
+cache_path = None
 
 # URL to the blog, including the name. Can be a full URL or just the path.
 blog_url = "/blog/blitiri.cgi"
diff --git a/config.py.sample b/config.py.sample
index 79efac7..eda5a47 100644
--- a/config.py.sample
+++ b/config.py.sample
@@ -20,8 +20,11 @@ comments_path = "/tmp/blog/comments"
 # default templates. If they're not found, the built-in ones will be used.
 templates_path = "/tmp/blog/templates"
 
-# Path where the cache is stored (must be writeable by the web server)
-cache_path = "/tmp/blog/cache"
+# Path where the cache is stored (must be writeable by the web server);
+# set to None to disable. When enabled, you must take care of cleaning it up
+# every once in a while.
+#cache_path = "/tmp/blog/cache"
+cache_path = None
 
 # URL to the blog, including the name. Can be a full URL or just the path.
 blog_url = "/blog/blitiri.cgi"