I am serving all content through apache with Content-Encoding: zip
but that compresses on the fly. A good amount of my content is static files on the disk. I want to gzip the files beforehand rather than compressing them every time they are requested.
This is something that, I believe, mod_gzip
did in Apache 1.x automatically, but just having the file with .gz next to it. That's no longer the case with mod_deflate
.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…