[PROBLEM] A page is constantly refreshing

#1
I use the last version of cache module for opencart. But the problem is every page is refreshing constanly... again and again.
What am I supposed to do? where do I search?
 
Last edited:

AndreyPopov

Well-Known Member
#2
what Opencart version?
default theme or third party theme?
what php version?
what OpenLiteSpeed (OLS) or LiteSpeed Web Server (LSWS) version?
what LSCache plugin version? last version - where downloaded?
 

AndreyPopov

Well-Known Member
#6
I cannot access your site.

check: what OpenLiteSpeed (OLS) or LiteSpeed Web Server (LSWS) version?
you use shared hosting or you own dedicated server?

2. Custom (too much) - I ask about theme, not additional or third party modules
default Opencart Theme or third party custom theme?

3. screenshots of LSCache plugin GUI settings are preferred ;)
 
Last edited:
#7
1. this dont? lsws 1.7.17 (if not, Have u any linux command for this check?). Server vps (linux)
2. Yes, I got you! The theme is custom. Not build in, not standart theme.
3. Screenshots down below.
4. May be is sence to drag all code to clean version, dont now....hm
5. If be honest, a have 3 sites similar.. I wanna tune all of this.. but seems base build or something is different
6. Iv installed clear version, it works excellent.
 

Attachments

Last edited:

AndreyPopov

Well-Known Member
#10
press F12 in Chrome
Network
check Disable cache
press Ctrl+R
choose All
select "page name"
select tab Headers and find like this
Code:
X-Litespeed-Cache: hit
X-Ray: p953:0.010/wn15868:0.010/wo15868
X-Turbo-Charged-By: LiteSpeed

also post .htaccess



1. view the same, it adjusts by css code
view on mobile device different from view on desktop device?
 
#12
press F12 in Chrome
Network
check Disable cache
press Ctrl+R
choose All
select "page name"
select tab Headers and find like this
Code:
X-Litespeed-Cache: hit
X-Ray: p953:0.010/wn15868:0.010/wo15868
X-Turbo-Charged-By: LiteSpeed
1691587727690.png


also post .htaccess
done!



view on mobile device different from view on desktop device?
Yes,
1691588071191.png
1691588103738.png
 

Attachments

AndreyPopov

Well-Known Member
#14
if you have different view for desktop and mobile view you must:
- in LSCache plugin GUI set "Separate View for Mobile Device" to Enable
- in .htaccess uncomment

Code:
RewriteEngine On
## Uncomment the following directives if you has a separate mobile view
RewriteCond %{HTTP_USER_AGENT} "iPhone|iPod|BlackBerry|Palm|Googlebot-Mobile|Mobile|mobile|mobi|Windows Mobile|Safari Mobile|Android|Opera Mini" [NC]
RewriteRule .* - [E=Cache-Control:vary=isMobile]
try restart you server
Purge All LScache by button (before and after restart)
 

serpent_driver

Well-Known Member
#16
if you have different view for desktop and mobile view you must:
- in LSCache plugin GUI set "Separate View for Mobile Device" to Enable
- in .htaccess uncomment

Code:
RewriteEngine On
## Uncomment the following directives if you has a separate mobile view
RewriteCond %{HTTP_USER_AGENT} "iPhone|iPod|BlackBerry|Palm|Googlebot-Mobile|Mobile|mobile|mobi|Windows Mobile|Safari Mobile|Android|Opera Mini" [NC]
RewriteRule .* - [E=Cache-Control:vary=isMobile]
try restart you server
Purge All LScache by button (before and after restart)

What does that have to do with the problem? You have a stupid habit. You talk about things nobody asked you about.
 

serpent_driver

Well-Known Member
#17
didnt get you ( what is a cache function, may be cache plagin? if i off it, all good
Yes, cache function is cache plugin. :)

If the issue is solved if you disable the cache, that can mean that one of your plugins is not cache friendly.

I'll tell you what I would do in your place. Deactivate all plugins except for the cache plugin, purge the cache and test whether the problem still occurs. If not, activate each plugin individually and after each activation of the respective plugin, purge the cache again and test if the problem occurs. You repeat this step after each plugin activation to find out which plugin is causing the problem. Understood everything?
 
#18
if you have different view for desktop and mobile view you must:
- in LSCache plugin GUI set "Separate View for Mobile Device" to Enable
- in .htaccess uncomment

Code:
RewriteEngine On
## Uncomment the following directives if you has a separate mobile view
RewriteCond %{HTTP_USER_AGENT} "iPhone|iPod|BlackBerry|Palm|Googlebot-Mobile|Mobile|mobile|mobi|Windows Mobile|Safari Mobile|Android|Opera Mini" [NC]
RewriteRule .* - [E=Cache-Control:vary=isMobile]
try restart you server
Purge All LScache by button (before and after restart)

It didnt help
 

AndreyPopov

Well-Known Member
#20
@Roman also check if your custom theme use Page Speed optimization like
HTML Minify

CSS Combine & Minify

CSS Inline

JS Combine & Minify

JS Defer

etc

some of them may be uncompatible with LSCache
 
Top