Reduce your response times

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

  1. werbyvillarino

    werbyvillarino New Member

    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 https://developers.google.com/speed/, 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 New Member

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

    werbyvillarino New Member

  4. webizen

    webizen New 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.
  5. werbyvillarino

    werbyvillarino New Member

    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.
  6. webizen

    webizen New Member

  7. werbyvillarino

    werbyvillarino New Member

    Guys,

    Need some help here I tested LSWS Cache mentioned on

    http://www.litespeedtech.com/support/wiki/doku.php?id=litespeed_wiki:litespeed:cache

    verified is the site is cached with Curl -I site.com

    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
  8. werbyvillarino

    werbyvillarino New Member

    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?
  9. webizen

    webizen New Member


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

    webizen New Member

    you can proxy the service on the same web server (running lsws) via its local ip to prevent it from direct public access.
  11. werbyvillarino

    werbyvillarino New Member

    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 corestory1.globalbizcloud.com I don't see X-Litespeed-Cache:hit, What did I miss?

    Attached Files:

    • l1.JPG
      l1.JPG
      File size:
      80.8 KB
      Views:
      1
    • l2.JPG
      l2.JPG
      File size:
      70.2 KB
      Views:
      1
    • l3.JPG
      l3.JPG
      File size:
      28.5 KB
      Views:
      1
  12. webizen

    webizen New 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