I enable " Check Public Cache > Yes" then install and enable Prestashop cache module in website, finally add this code to .htaccess
is it true the things that I do? or needed to do something else?
Code:
<IfModule LiteSpeed>
CacheEnable public
RewriteEngine On
RewriteCond %{REQUEST_METHOD} ^GET|HEAD|PURGE$
RewriteCond %{HTTP_HOST} ^DOMAIN.COM [NC]
RewriteCond %{REQUEST_URI} !ADMINADDRESS|404|address|authentication|best-sales|cart|contact|discount|guest-tracking|history|identity|order|password|products-comparison|search|account|friend|login|logout|addresses|contact-us|order-history|my-account|order-confirmation|order-follow|quick-order|credit-slip|password-recovery [NC]
RewriteCond %{HTTP_COOKIE} !logged|cart [NC]
RewriteCond %{QUERY_STRING} !nocache [NC]
RewriteRule .* - [E=Cache-Control:max-age=1800]
</IfModule>