[EHPweb] Expiration headers

Jeremy M Fee jmfee at usgs.gov
Tue May 19 23:34:13 GMT 2009


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