# Set expiry for assets
#
<Location /assets/>
- Header unset Last-Modified
Header unset ETag
FileETag None
# Set expiry for attachments
#
<Location /attachments/>
- Header unset Last-Modified
Header unset ETag
FileETag None
<Location /images/>
ExpiresDefault "access plus 10 years"
</Location>
- <Location /javascripts/>
- ExpiresDefault "access plus 10 years"
- </Location>
<Location /openlayers/>
ExpiresDefault "access plus 7 days"
</Location>
- <Location /stylesheets/>
- ExpiresDefault "access plus 10 years"
- </Location>
-
- #
- # Set expiry for Potlatch 1
- #
- <Location /potlatch/>
- ExpiresDefault "access plus 7 days"
- </Location>
-
- #
- # Set expiry for Potlatch 2
- #
- <Location /potlatch2/>
- ExpiresByType application/x-shockwave-flash "access plus 1 day"
- ExpiresByType application/xml "access plus 1 day"
- ExpiresByType text/css "access plus 1 day"
- ExpiresByType image/png "access plus 7 days"
- </Location>
#
# Configure rails