[Mongrel] expires header for .css

Stephan Wehner stephanwehner at gmail.com
Tue May 6 17:13:52 EDT 2008


On Tue, May 6, 2008 at 1:55 PM, Scott Derrick <lists at ruby-forum.com> wrote:
>  How can I tell mongrel to send an expires header with my static content?

Seems Ben Schwarz ran into the same:

http://germanforblack.com/2007/extreme-expires-headers-for-nginx-and-mongrel


Would this come into play?

$ tail -3 config/environments/production.rb
# Don't want asset-ids
# Want browser caching
ENV['RAILS_ASSET_ID'] = '' # blank.


Stephan
-- 
Stephan Wehner

-> http://stephan.sugarmotor.org
-> http://www.thrackle.org
-> http://www.buckmaster.ca
-> http://www.trafficlife.com
-> http://stephansmap.org


More information about the Mongrel-users mailing list