gzip for static files with no write permissions

IO

Active Member
#1
I test all the possibles parameters for gzip compression (Auto Update Static and others) and I never got gzip for html static files when lsws has no write permission in the directory the file is... Is it normal ?
(In the same directory, gzip work only for dynamic files)
 

mistwang

LiteSpeed Staff
#2
LiteSpeed needs write permission to create a copy of the compressed static file under the same directory. If you prefer not to give write permission to the server process, you can create them manually, just rename "*.gz" file to "*.lsz".
 

IO

Active Member
#3
OK, I understand.

Before I think lsws use another directory to compress static files when 'Auto Update Static' is disabled. (for Apache I use /dev/shm)

Thank you.
 
Top