Opencart 3 + Journal3 Outdated browser problem

#1
Is there possibility to disable litespeed cache for internet explorer users, because we have message for outdated browser and it's cached too on other browsers.
 

Attachments

Unique_Eric

Administrator
Staff member
#2
Hi,

You can try adding follow rules to .htaccess file.

Code:
RewriteCond %{HTTP_USER_AGENT} Mozilla/5.0 (Windows NT 10.0; Trident/7.0; rv:11.0) like Gecko
RewriteRule .* - [E=Cache-Control:no-cache]
Please change the user agent to your need and do the test.

Best,
Eric
 
#5
RewriteCond %{HTTP_USER_AGENT} Mozilla/5.0 (Windows NT 10.0; Trident/7.0; rv:11.0) like Gecko
RewriteRule .* - [E=Cache-Control:no-cache]
RewriteCond %{HTTP_USER_AGENT} Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2)
RewriteRule .* - [E=Cache-Control:no-cache]
 
#7
We tested in one line, but it doesn't work. The site is https://moven.bg/.
At this point we generally stop the Opencart plugin because we have a serious problem. We have products with small quantity: 1,2 ... 5 and when any product is purchased, cache not purging and next customer sees cached page with In Stock product.
Any ideas how to fix this ?
 
Top