When running the assets:precompile rake task, gzipped versions of the app's assets are produced. Based on the Rails guide for that resource pipeline, you are able to configure your internet server (during my situation Apache 2.2) for everyone these precompressed files rather than getting the net server perform the work.
Things I can't determine is how you can get mod_deflate set up to ensure that these files are offered rather than being double-compressed after which offered?
I've mod_deflate enabled via httpd.conf:
And I have converted the code around the rails guide to enter the .htaccess in public placesOrproperty:
Any ideas how you can set this up correctly?
First, you wouldn't want mod_deflate to function here. So inside your assets .htaccess file add:
This will switch off mod_deflate for the assets.
Second, I personally don't like to disagree using the rails folks, however i think you will find a few inadequacies within their assets .htaccess recipe. The very best part is okay however for RewriteEngine and beyond I'd have: