Utilizzo Rails 3.1 w/asset pipeline, phusion 3.0.xe apache 2.2.17.Rails 3 Asset Pipeline + Apache + Phusion Passenger
Nella documentazione di configurazione a http://guides.rubyonrails.org/asset_pipeline.html, nella sezione 4.1.1 si afferma che ho bisogno di aggiungere una sezione alla mia configurazione di Apache:
<LocationMatch "^/assets/.*$">
# Some browsers still send conditional-GET requests if there's a
# Last-Modified header or an ETag header even if they haven't
# reached the expiry date sent in the Expires header.
Header unset Last-Modified
Header unset ETag
FileETag None
# RFC says only cache for 1 year
ExpiresActive On
ExpiresDefault "access plus 1 year"
</LocationMatch>
ho presupposto che Phusion passeggeri è appena stato "trattamento" questo ... o sono stato negligente in non RTFM? Se voglio sfruttare il fingerprint, devo aggiungere questo alla configurazione di apache?
Si noti che la versione corrente dei documenti non ha più la sezione "Header unset Last-Modified". Consulta http://stackoverflow.com/questions/ 8344186/rails-3-1-on-apache-pagespeed-dice-specifica-cache-validator-when-using-asset-p per una spiegazione del motivo per cui è stato rimosso – gravitystorm