I need to add below directives to apache. But I get 500 when I add these lines.
<LocationMatch "^/assets/.*$"> Header unset ETag FileETag None # RFC says only cache for 1 year ExpiresActive On ExpiresDefault "access plus 1 year" </LocationMatch>
Additionally response is not gzipped when I add:
Apache version is: Server version: Apache/2.2.22 (Unix)
App: rails 3.2 app
When I checked response&request for gzip problem, I see that browser requested gzip:
Accept-Encoding gzip, deflate
but response not gzipped.