I don't even want to chance something weird happening with the style changes, so I took the changes you made and altered them slightly as follows:
Seems to be working extremely well!
Code:
## separate cache for mobile users
RewriteCond %{HTTP_USER_AGENT} "iPhone|iPod|Android|Mobile|Phone"
RewriteRule ^(.*\.php)?$ $1?mobile_view=1 [QSA]
## select which pages to cache
RewriteCond %{HTTP_USER_AGENT} "iPhone|iPod|Android|Mobile|Phone|Windows|Mac|spider|crawl|slurp|bot"
RewriteCond %{HTTP_COOKIE} !bb_skipmobilestyle=
RewriteCond %{HTTP_COOKIE} !bb_userstyleid=
RewriteCond %{HTTP_COOKIE} !bb_imloggedin=yes
RewriteCond %{HTTP_COOKIE} !bb_userid=
RewriteCond %{HTTP_COOKIE} !bb_password=
RewriteCond %{REQUEST_METHOD} ^HEAD|GET$
RewriteCond %{QUERY_STRING} !s=[a-fA-F0-9]{32}
RewriteCond %{QUERY_STRING} !product=vbnexus
RewriteCond %{REQUEST_URI} !^/(login|register|usercp|private|profile|cron|image)\.php$
RewriteCond %{REQUEST_URI} !^/admincp
RewriteRule ^(.*\.php)?$ - [E=Cache-Control:max-age=600]
Last edited by a moderator: