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.
This commit is contained in:
parent
51c11f2ef5
commit
f1b0225b79
1 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue