From: Tom Hughes Date: Thu, 1 May 2008 07:55:23 +0000 (+0000) Subject: Reduce the expiry for OpenLayers resources (which are not subject to X-Git-Tag: live~7805 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/f1b0225b7996a3b340c1334076810ae387a4fb50?hp=51c11f2ef522182ef5ac8a74b3165f29762771d2 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. --- 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" )