conditional mod_deflate based on headers
- by Ben K.
mod_deflate seems pretty sweet.
I'd love to turn it on across the board for text/html--but for certain pages, I don't want to gzip since upstream proxies need to be able to inspect the content.
I know there's an AddOutputFilterByType directive -- is there any way to combine that w/ a header inspect so that if I see
X-NO-COMPRESS true
I skip mod_deflate?