From: Alberto Bertogli Date: Mon, 1 Sep 2008 16:29:09 +0000 (-0300) Subject: Improve cache_path option comments X-Git-Url: https://git.llucax.com/software/blitiri.git/commitdiff_plain/47dc30946c5740f87887ec2e9be76f7c927af490?hp=ac9276d7da9b8d68fbae611d1fc8c62d5d721b5d Improve cache_path option comments Signed-off-by: Alberto Bertogli --- 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"