what causes litespeed to gzip one php output but not another?

Discussion in 'General' started by aww, Aug 13, 2008.

  1. aww

    aww New Member

    I have two pages on the same site generated via PHP. Both send the same headers.

    However one is served gzipped, chunked - the other is not.

    The one that is not is only 7k, is that causing it?

    I cannot find an adjustment for page size on non-static but for dynamic pages it should trigger at 2k or 4k, no?
  2. aww

    aww New Member

    Ah, I added another 1k to the page and now it's suddenly chunked.

    Still not being gzipped.

    So apparently there are no settings available to control the chunk size and dynamic gzip minimum?
  3. mistwang

    mistwang LiteSpeed Staff

    The MIME type for the response body is important, make sure it is in the compressible MIME list configured under server->tuning tab.

Share This Page