PDA

View Full Version : gzip doesn't work with rails on static content


Tomh
12-10-2006, 05:07 PM
Hi,

All my files which are served staticly like stylesheets and html files are not gzipped, all my rails html output is gziped though.

This is my config:

Enable Compression Yes
Enable Dynamic Compression Yes
Compression Level (Dynamic Content) 6
Compressible Types text/*
Auto Update Static Yes
Compression Level (Static File) 6
Max Static File Size (bytes) 1M
Min Static File Size (bytes) 200

any clue?

Tomh
12-10-2006, 05:27 PM
I seem to have fixed it, i didn't knew litespeed made some kind of .lsz files. Turned out that the permissions where not ready for that.

Now after the first request which is not gzipped the content is delivered gzipped.

xing
12-11-2006, 04:22 AM
.lsz files are created for static compressible content only. They are not created for dynamic content.