]> git.openstreetmap.org Git - rails.git/commitdiff
Reduce the expiry for OpenLayers resources (which are not subject to
authorTom Hughes <tom@compton.nu>
Thu, 1 May 2008 07:55:23 +0000 (07:55 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 1 May 2008 07:55:23 +0000 (07:55 +0000)
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

index 5455e266d8b880f5251a225bc6fef3a29b5cf1bc..74aa6f38f3628f16dfdd7eb64154df738ba8282a 100644 (file)
@@ -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"
 )