Reduce your response times

Discussion in 'General' started by werbyvillarino, Apr 16, 2013.

  1. Hello guys;

    I have a production server with lightspeed Enterprise 2.2.2, php 5.3.19 installed. Everything work fine only that recently we've done a speed test on one of our sites using, we got a high and medium priority "Improve server response time" exhausted all means on how to work this out with the server.

    Is there a way to improve server response time?
  2. webizen

    webizen Well-Known Member

    What type of URLs need improvement? PHP or something else?
  3. webizen

    webizen Well-Known Member

    seem it is related to your php. you can setup opcode cache or litespeed cache (available in 2-CPU license) to speed it up.
  4. how do I set this up? We have production servers right now but I'm testing it on the 15 day trial license would that work.
  5. webizen

    webizen Well-Known Member

  6. Guys,

    Need some help here I tested LSWS Cache mentioned on

    verified is the site is cached with Curl -I

    but It does not seem to work even if I set Cache "enable cache" no/yes.

    Does this work with a 2-CPU trial license?

    curl: output:

    HTTP/1.1 200 OK
    Date: Wed, 24 Apr 2013 13:55:39 GMT
    Server: LiteSpeed
    Connection: Keep-Alive
    Keep-Alive: timeout=5, max=100
    Expires: Thu, 19 Nov 1981 08:52:00 GMT
    Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
    Pragma: no-cache
    Content-Type: text/html; charset=utf-8
    Set-Cookie: PHPSESSID=8c18140b0e92b6512b3a5ea7708eebc3; path=/
    Set-Cookie: disable_frontend_CoreStory=not+sure; expires=Thu, 25-Apr-2013 13:55:38 GMT
    Set-Cookie: web_details=true; expires=Wed, 24-Apr-2013 14:55:39 GMT
    Last edited: Apr 24, 2013
  7. proxy server

    also when setting up a reverse proxy using lightspeed is it necessary to set it up on a new server or can it be done using the exisiting webserver and utilize its local Ip as a proxy server?
  8. webizen

    webizen Well-Known Member

    It should work with trial license. make sure your cache storage is defined in admin console and writable by web server user.
  9. webizen

    webizen Well-Known Member

    you can proxy the service on the same web server (running lsws) via its local ip to prevent it from direct public access.
  10. The attached image are the settings I've done the LSWS cache seems to work because I could see binary files being stored on the cache directory however when I try curl -I I don't see X-Litespeed-Cache:hit, What did I miss?

    Attached Files:

    • l1.JPG
      File size:
      80.8 KB
    • l2.JPG
      File size:
      70.2 KB
    • l3.JPG
      File size:
      28.5 KB
  11. webizen

    webizen Well-Known Member

    use browser or run something 'curl -i ...' to get cache generated first. then 'curl -I ...' should see 'X-Litespeed-Cache' header.

Share This Page