View Single Post
  #20  
Old 01-12-2011, 09:58 AM
NiteWave NiteWave is online now
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
1. yes. That's where to define your cache policy. Here's an example for litespeed native configured vhost:
Cache Request with Query String:Yes
Cache Request with Cookie:Yes
Cache Response with Cookie:Yes
Ignore Request Cache-Control:Yes
Ignore Response Cache-Control:Yes

2. the user running litespeed process will create and fetch cache from cache directory -- for example "nobody". set the cache folder owner to nobody, and permission to 700, should be ok.

3.tested, the answer: "/" is covered. the condition is "index.php" is the vhost's index page. this also true: if you cache "^/$" only, and index.php is the index page, access / will result access to /index.php, then cache "/" covers /index.php

4.the original URL. Note: lsws only cache dynamic page(php etc). if product1.html is a pure static html, it won't be cached.

5.yes, it will.
Reply With Quote