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

aww

Well-Known Member
#1
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?
 

aww

Well-Known Member
#2
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?
 

mistwang

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