Restart server

Discussion in 'Ruby/Rails' started by palb, Sep 17, 2007.

  1. palb

    palb New Member

    Yes. That's the latest one.
  2. mistwang

    mistwang LiteSpeed Staff

    You can add the "gzip" compression request header to test the compressed version as well.
  3. palb

    palb New Member

    How do I do that? With curl?
  4. mistwang

    mistwang LiteSpeed Staff

    curl -H "Accept-Encoding: gzip" ...
  5. palb

    palb New Member

    That gave me a lot of funny characters :)
  6. mistwang

    mistwang LiteSpeed Staff

    That's because the file is gzipped.
    Save the response body as a file then "gunzip <file>", check the result see if the file the latest version.
  7. palb

    palb New Member

    Learning new things every day :) Thanks.

    No, it's the old stylesheet. So what does that mean? Do you need compression? Can you turn it off? I guess when we get a lot of traffic it could be good, but maybe not now (we're putting up a beta of an app that is not yet "that open" for the public).
  8. mistwang

    mistwang LiteSpeed Staff

    Yes, you can turn it off from "Server"->"Tuning" tab.

    Which LSWS release are you using?
    Is there any ".lsz" file under the the directory holding the css file?

    Maybe the new css file's modified time has not been updated? Need to find a better way to detect file changes other than the modified time.

Share This Page