Quote:
Originally Posted by NiteWave
1.
4."how do you only cache guest/visitors without cookie"
Code:
RewriteCond %{HTTP_COOKIE} ^$
RewriteRule /index.php - [E=Cache-Control:max-age=600]
|
thanks mate good info - wish documentation would explain and outline this stuff 
So for vbulletin usage, if i compile apache with mod_cache support, add into pre main include
CacheRoot /home/lswscache/
CacheEnable disk /
litespeed would cache all files in all virtualhosts without cookies (the default settings) ? is that the same (for index.php) as specifying in htaccess as below
Code:
RewriteCond %{HTTP_COOKIE} ^$
RewriteRule /index.php - [E=Cache-Control:max-age=600]
?
So index.php without cookies, would be cached for guest/visitors fwithout this rewrite anyway ? Same with rest of vB php files for guest/visitors even with this rewrite rule would be cached, as default is to cache without cookies ?