From 47dc30946c5740f87887ec2e9be76f7c927af490 Mon Sep 17 00:00:00 2001 From: Alberto Bertogli Date: Mon, 1 Sep 2008 13:29:09 -0300 Subject: [PATCH] Improve cache_path option comments Signed-off-by: Alberto Bertogli --- blitiri.cgi | 8 +++++--- config.py.sample | 7 +++++-- 2 files changed, 10 insertions(+), 5 deletions(-) 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" -- 2.43.0