]> ruin.nu Git - ndwebbie.git/blobdiff - lib/NDWeb.pm
Tweaked the cache and added a cleaning script
[ndwebbie.git] / lib / NDWeb.pm
index d7aec9695d2374bb9310aa1f3c1d38aaff1bb333..8d90ff45e167c51719f9fe06d21b309178822d65 100644 (file)
@@ -38,12 +38,15 @@ __PACKAGE__->config( cache => {
        backend => {
                class => "Cache::FileCache",
                cache_root => "/tmp/ndweb-$>",
+               namespace => "cache",
+               default_expires_in => 3600,
                directory_umask => 077,
        },
 });
 
 __PACKAGE__->config( page_cache => {
        set_http_headers => 1,
+       disable_index => 1,
 });