mod_deflate with already zipped Files

Alles, was den Apache betrifft, kann hier besprochen werden.

mod_deflate with already zipped Files

Postby Noxy2 » 02. April 2009 11:08

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?
Posts: 1
Joined: 02. April 2009 10:58

Return to Apache

Who is online

Users browsing this forum: No registered users and 6 guests