gzip doesn't work with rails on static content

Discussion in 'Install/Configuration' started by Tomh, Dec 11, 2006.

  1. Tomh

    Tomh New Member

    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?
  2. Tomh

    Tomh New Member

    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.
  3. xing

    xing LiteSpeed Staff

    .lsz files are created for static compressible content only. They are not created for dynamic content.

Share This Page