Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
litespeed_wiki:cache:lscjoomla:installation [2018/06/04 13:33]
Lisa Clarke [Plugin Installation]
litespeed_wiki:cache:lscjoomla:installation [2019/12/08 13:41]
qtwrk
Line 7: Line 7:
 **NOTE**: You can still use other types of cache (like object cache), but only one page cache can be used at a time, so you’ll need to disable the others, if you want to use LSCache. **NOTE**: You can still use other types of cache (like object cache), but only one page cache can be used at a time, so you’ll need to disable the others, if you want to use LSCache.
  
 +**NOTE**: You may want to keep Joomla gzip ''​Off''​ from **System->​Global Configuration->​Server->​Gzip Page Compression** to avoid potential conflict with LiteSpeed Web Server
 ===== Server Configuration ===== ===== Server Configuration =====
 Modify the ''​.htaccess''​ file in the Joomla site directory, and add the following directives: Modify the ''​.htaccess''​ file in the Joomla site directory, and add the following directives:
Line 19: Line 20:
 <​code>​ <​code>​
 <​IfModule LiteSpeed>​ <​IfModule LiteSpeed>​
-    RewriteCond %{HTTP_USER_AGENT} Mobile|Android|Silk/​|Kindle|BlackBerry|Opera\ Mini|Opera\ Mobi [NC] RewriteRule .* - [E=Cache-Control:​vary=ismobile]+    RewriteCond %{HTTP_USER_AGENT} Mobile|Android|Silk/​|Kindle|BlackBerry|Opera\ Mini|Opera\ Mobi [NC]  
 +    ​RewriteRule .* - [E=Cache-Control:​vary=ismobile]
 </​IfModule>​ </​IfModule>​
 </​code>​ </​code>​
  • Admin
  • Last modified: 2020/07/14 17:05
  • by Lisa Clarke