Lai pilnībā izbaudītu Litespeed Cache ātrdarbību ir jāinstalē atbilstošs modulis Jūsu sistēmai. Litespeed piedāvā gatavus moduļus, kas padarīs lapas ielādes ātrumus līdz 10x ātrākus. Klikšķiniet zemāk, lai nokļūtu Litespeed weblapā un varētu ielādēt moduli/spraudni atbilstošu Jūsu sistēmai. Piedāvātie moduļi ir: Wordpress, Prestashop, Joomla, Opencart, Magento, Drupal, Shopware, Lavarel un citi.
Ja neizdodas atrast moduli, zemāk redzami noderīgi .htaccess failu piemēri:
WORDPRESS
<IfModule LiteSpeed>
CacheEnable public /
RewriteEngine on
RewriteCond %{REQUEST_METHOD} ^(HEAD|GET)$
RewriteCond %{REQUEST_URI} !^/(wp-admin|wp-login.php|wp-cron.php)
RewriteRule .* - [E=Cache-Control:max-age=3600]
</IfModule>
CSCART
# START LiteSpeed Cache for Your Store
# Type: OpenCart
<IfModule LiteSpeed>
CacheEnable public
RewriteEngine On
RewriteCond %{REQUEST_METHOD} ^GET|HEAD|PURGE$
RewriteCond %{HTTP_HOST} "my-domain.com" [NC]
RewriteCond %{REQUEST_URI} !admin|account|checkout|cart [NC]
RewriteCond %{HTTP_COOKIE} !logged_in|cust_logged_in|cart|compare|wishlist [NC]
RewriteCond %{QUERY_STRING} !nocache [NC]
RewriteRule .* - [E=Cache-Control:max-age=3600]
</IfModule>
# END LiteSpeed Cache for Your Store
TYPO3
########## Begin - Litespeed cache
<IfModule LiteSpeed>
CacheLookup public on
RewriteEngine On
RewriteCond %{REQUEST_METHOD} ^GET|HEAD|PURGE$
RewriteCond %{HTTP_HOST} ^mydomain.com$ [NC, OR]
RewriteCond %{HTTP_HOST} ^www.mydomain.com$ [NC]
RewriteCond %{REQUEST_URI} !typo3 [NC]
RewriteCond %{QUERY_STRING} !nocache
RewriteRule .* - [E=Cache-Control:max-age=3600]
</IfModule>
########## End - Litespeed cache

