From f1b0225b7996a3b340c1334076810ae387a4fb50 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 1 May 2008 07:55:23 +0000 Subject: [PATCH] Reduce the expiry for OpenLayers resources (which are not subject to rails asset tagging) to one week, and set a one week expiry for the new static HTML page used for HTML export. --- config/lighttpd.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/lighttpd.conf b/config/lighttpd.conf index 5455e266d..74aa6f38f 100644 --- a/config/lighttpd.conf +++ b/config/lighttpd.conf @@ -83,9 +83,10 @@ compress.filetype = ( # Set expiry for static content # expire.url = ( + "/export/" => "access 7 days", "/images/" => "access 10 years", "/javascripts/" => "access 10 years", - "/openlayers/" => "access 10 years", + "/openlayers/" => "access 7 days", "/stylesheets/" => "access 10 years" ) -- 2.43.2