RFC: "test" block in apache config
jgara opened this issue · comments
Jeff Gara commented
There's a small block in catalyst's /etc/httpd/conf.d/01_catalyst.conf
labeled "TODO: test". Is it needed or helpful?
### TODO: test
# Cache Rails finger-printed assets, as per
# http://guides.rubyonrails.org/asset_pipeline.html#precompiling-assets
# Try only match if the asset actually has a fingerprint in it.
<LocationMatch "^/assets/.*-[0-9a-f]{32}.*$">
#<Location /assets/>
# Use of ETag is discouraged when Last-Modified is present
Header unset ETag
FileETag None
# RFC says only cache for 1 year
ExpiresActive On
ExpiresDefault "access plus 1 year"
</LocationMatch>