diff options
Diffstat (limited to 'etc/inc/system.inc')
-rw-r--r-- | etc/inc/system.inc | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc index 98c8034..c81dcc4 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -825,7 +825,7 @@ server.event-handler = "freebsd-kqueue" ## modules to load server.modules = ( {$captive_portal_module} - "mod_access", "mod_accesslog", + "mod_access", "mod_accesslog", "mod_expire" {$module}{$captiveportal} ) @@ -965,6 +965,18 @@ debug.log-file-not-found = "disable" {$captive_portal_mod_evasive} +# Turn on Lighty caching directives +compress.cache-dir = "/tmp/" +compress.filetype = ("text/plain", "text/html", "text/javascript", "text/css") + +expire.url = ( + "/themes/" => "access 50 hours", + "/widgets/" => "access 50 hours", + "/tree/" => "access 50 hours", + "/tree-images/" => "access 50 hours", + "/includes/" => "access 50 hours" + ) + EOD; $cert = str_replace("\r", "", $cert); |