Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
litespeed_wiki:cache:lscjoomla:installation [2019/12/08 13:41]
qtwrk
litespeed_wiki:cache:lscjoomla:installation [2020/02/03 16:17] (current)
Jackson Zhang [Server Configuration]
Line 20: Line 20:
 <​code>​ <​code>​
 <​IfModule LiteSpeed>​ <​IfModule LiteSpeed>​
-    ​RewriteCond %{HTTP_USER_AGENT} Mobile|Android|Silk/​|Kindle|BlackBerry|Opera\ Mini|Opera\ Mobi [NC]  +## Uncomment the following directives if you has a separate mobile view 
-    RewriteRule .* - [E=Cache-Control:​vary=ismobile]+RewriteEngine On 
 +RewriteCond %{HTTP_USER_AGENT} Mobile|Android|Silk/​|Kindle|BlackBerry|Opera\ Mini|Opera\ Mobi [NC] 
 +RewriteRule .* - [E=Cache-Control:​vary=ismobile
 +RewriteCond %{REQUEST_URI} enquiry [NC] 
 +RewriteRule .* - [E=Cache-Control:​no-cache]
 </​IfModule>​ </​IfModule>​
 </​code>​ </​code>​
  • Admin
  • Last modified: 2020/02/03 16:17
  • by Jackson Zhang