I'd like to statically zip my CSS files, so the Apache doesn't have to do the compression for every request on the fly.
So I thought it should work like this:
For other files than .css Files work as usual with mod_deflate.
If a css-File has been requested:
- Check if the browser supports zipped files
- Yes => If there exists a file with <name>.css.gz deliver this else deflate and deliver original css File
- No => Standard-proceeding. Deliver uncompressed css File
How have I to configure the Apache to work this way?