CSS Compression

Corey Donohoe atmos at atmos.org
Sat Jun 14 23:28:03 MSD 2008


You should be able to check the application type that's returned by
your css files and use the gzip_types option in nginx.conf.  Nginx
should be able to do the compression if you're proxying down to
another web server just fine.

On Mon, Jun 9, 2008 at 10:37 AM, John Engstrom <john at sfdigital.net> wrote:
> Hi,
>
> I have Nginx setup as a proxy for YAWS.  It's working fine and it's adding
> the expires headers but for some reason it's not gzipping the proxied CSS
> files.
>
> Am I missing something?  I've googled around for the last half hour but it's
> unclear if this is supported or if I have to have YAWS do the compression.
>
> Thanks for your help!
>
> John
>
>
>
>
>



-- 
Corey Donohoe
http://www.atmos.org/
http://www.engineyard.com/





More information about the nginx mailing list