[EHPweb] Expiration headers
Jeremy M Fee
jmfee at usgs.gov
Wed May 20 22:09:27 GMT 2009
I updated the expiration headers for pager and dyfi. All files
(except PDFs) under each products' events directory have a 2 minute
expiration. PDFs have a 1 hour expiration, configured separately,
which can be changed if needed.
Jeremy
On May 19, 2009, at 5:34 PM, Jeremy M Fee wrote:
> Only files named index.html in DYFI and PAGER have 2 minute
> expirations.
>
>
> On line 69 of earthquake.conf:
> <LocationMatch "^(/php-fcgi)?/eqcenter/(images/thumbs|catalogs|
> eqinthenews|(dyfi|pager)/events/.*index.html|recenteqs(us|ww)|
> shakemap)">
>
>
> If you remove the ".*index.html" portion ALL DYFI and PAGER events
> content will have a 2 minute expiration. So, it would look
> something like:
> <LocationMatch "^(/php-fcgi)?/eqcenter/(images/thumbs|catalogs|
> eqinthenews|(dyfi|pager)/events/|recenteqs(us|ww)|shakemap)">
>
>
> Let me know if you'd like more granular control (instead of ALL
> content),
>
> Jeremy
More information about the EHPweb
mailing list