View Single Post
  #19  
Old 01-12-2011, 09:12 AM
J.T. J.T. is offline
Senior Member
 
Join Date: Apr 2010
Posts: 52
Thanks for the detailed examples, that's really helpful. Last questions, I think!

1. If we put those rules in htaccess, do we also have to turn caching on in the admin?

2. In the admin > Server > Cache I have Storage Path /home/lswscache - which permissions do you recommend? The VH I'm testing caching with seems to run as lsadm

I tried yesterday, before reading your post, like this:

Code:
RewriteRule /index.php - [E=Cache-Control:max-age=120]
So no conditions, just all-out caching. It didn't seem to work and I think it's to do with URL rewriting.

3. Would a rule for www.domain.org/index.php also cover www.domain.org/ ? Probably not.

4. And if I have a URL like www.domain.org/product1.html which is in fact a rewritten URL for www.domain.org/products/1 do I need to make the caching rewrite URL to match the original, or the rewritten URL?

5. Last question, if we have an index.php page which outputs "Hello NiteWave, welcome to our site" because it recognises it was you from last time, if it then caches that page, with that text, will it show exactly that to other users,with your name? I guess it will, and that's why we need to look for cookie values, for example.

After piecing together the bits of documentation and with your help here, I finally get to grips with this, thank you very much. I also happen to have another vBulletin site on a VPS with Litespeed, but it seems the license for that server doesn't include these caching options.

Last edited by J.T.; 01-12-2011 at 09:14 AM..
Reply With Quote