Cache Control and GZIP with PHP
Code
My host, 1&1, claims to allow gzip compression through Apache. However, when I try to set it up along with etags and expires it doesn’t seem to work. I devised this fancy script to add cache-control and etag headers to js, css, and xml files. View the PHP script