Closed nimbupani closed 13 years ago
well.... http://wordpress.org/extend/plugins/force-gzip/ two problems.. its super PHP-y.. and its GPL. is this possible with mostly apache config ?
Looking over the code it looks like it's possible with js at the bottom of the index and setting the headers of the gzip.html via .htaccess
I'm fiddling with different methods now
The difficult trick is that the JS would have to be included only for that select audience. I think apache includes could help.
Good luck!
Garowetz, have you identified a vector by which this could be done within the scope of standard boilerplate?
Not yet, I have been testing different methods and seeing if there is something we can incorporate, right now it's all coming back to a php script along with .htaccess. Which isn't bad but we haven't added any server side code yet ... aside from the build script
Should I pursue?
From mathias byenens a bit ago
SetEnvIf HTTP_COOKIE "gzip" no-gzip dont-vary
may be worth considering..
okay we finally got something i think we can move on:
http://calendar.perfplanet.com/2010/pushing-beyond-gzipping/
basically forces gzip for mangled headers. good enough for me.
I'm very happy with our new gzip handling via that perfplanet post.. so i'm gonna close this finally. \o/
http://googlecode.blogspot.com/2009/11/use-compression-to-make-web-faster.html