Can't get zip compression working with static cache...
I am using two different rails apps to host sites on my server, Mephisto and Radiant. I have zip compression working for Mephisto and I can't seem to get it to work with Radiant.
I recently installed a static caching extension to a couple Radiant sites. (here: http://github.com/tricycle/radiant-s...on/tree/master)
The cache appears to be working but there is no zip compression happening. I checked the file permissions, and the server has rights to write into the folder where the cached files are. There is a url rewrite going on to redirect requests to /cache/myfile.html for /myfile.
Is this going to work, or will the zip files get created in a different location from the cached files, as in /public/myfile.html.lsz for the cached file in /public/cache/myfile.html.lsz ??
Maybe I'm way off. If so, can you steer me back on course?
LSWS no longer create .lsz file under the same directory, instead it creates compressed temp file under LSWS swap directory, usually it is /tmp/lshttpd/swap/ .
So, just let LSWS to handle the gzip compression instead of using the compression option in the Radiant.
Great! Thanks. I didn't know that had changed and I remember having to tweak a few things to get it working before.
It turns out that everything is compressed now, and has been for a while, which is awesome.
|All times are GMT -7. The time now is 07:34 PM.|