lsz files

jrmarino

Well-Known Member
#1
Almost immediately litespeed started creating .lsz files. From the file names, I'm assuming that litespeed is compressing static files for performance reasons: compress once and then send that compressed file over and over.

I also assume this is because the "enable gzip" setting was set to yes. I wasn't expecting these files to get created and it cause a lot of problems immediately with rsync which propagates changes to several servers.

Right now I turned off "gzip compression". The php files are already gzipped dynamically, so I think my immediate problem is over.

I'm wondering ... can anybody quantify how much using .lsz files help over not having gzip compression on by default? The majority of my static files are graphics (jpg, gif, png) anyway.
 

PSS

Well-Known Member
#2
What LS compresses is defined by "Compressible Types" parameter. By default this includes text files, javascript and xml files.

I find it simplest to use both static and dynamic LS compression and set compression off in apps (like Vbulletin). The compression effect is same:

(gzip level 9 in both, Firefox)
Vbulletin front page with internal compression: 11,13 KB (11 395 bytes)
Vbulletin front page with Litespeed compression: 11,13 KB (11 393 bytes)

Why make PHP do the work LS can do. And LS compression works with all apps, even if progammer did not use ob_start("ob_gzhandler") or send proprietary headers for some reason.
 
Last edited:
Top