I see a conflict between the Rails 3.1 recommendations and the Google PageSpeed offer for managing cached assets.
Asset Pipeline 3.1 Rails offers an Apache server configuration solution here
The main apache configuration bit:
<LocationMatch "^/assets/.*$">
Everything works, but when I start Google PageSpeed, it complains that I have to "Specify validator validation" by installing either Last-Modified or ETag , listing all the files in the resources folder.
Note Header unset Last-Modified satisfies the PageSpeed parameter.
I quickly checked out the various pageloads and, at least in Chrome, it did not seem to matter - the assets were cached anyway.
Does anyone know what is suitable?
source share