Guest Mode Causes Infinite Refresh Loop
-
Hello,
I’ve recently migrated two completely separate/different WordPress sites to Openlitespeed webservers and am running with Litespeed Cache for WordPress.
The issue: I’ve noticed that when I enabled “Guest Mode” in LS Cache (whether or not “Guest Mode Optimization” is also enabled), my websites will each go into a type of infinite redirect/refresh loop. For example, the page loads, but I see all the pictures and page being refreshed more than once a second.
Turning Guest Mode/Optimization “OFF” and flushing Litespeed cache seems to immediately resolve the issue.
I tried inspecting the Network tab stats to see if there were any 301 or other redirects causing this, but didn’t see any (it was also hard to grab since it refreshes so quickly). It seems to be triggering a page refresh based on something else.
This happens on both WordPress websites, which are running completely different themes and plugins (everything up to date). And the issue goes away as soon as I remove “Guest Mode” – but I would like to use it. More importantly, I’d like to understand what might be causing this.
Lastly, I tried this both with SSL termination (via Lightsail Cloudfront) and with end-to-end encryption, just to ensure that it wasn’t something where the server was trying to redirect an HTTP request to HTTPs – but either way, the infinite refresh loop happens.
Here are more details. Has anyone seen anything like this before?
–Web server: OpenLiteSpeed 1.7.18 server running latest version of WordPress and latest Litespeed Cache plugin
-Server: AWS Lightsail Instances with Ubuntu 22.04 running lsphp82
-CDN: Also configured AWS Lightsail using Lightsail Distributions (i.e. Cloudfront) with SSL installed for the Distribution and on the origin servers (tried it both ways)
-Caching settings: running the latest version of Redis Object cache, “advanced” presets in LS Cache, Guest Mode and Guest Optimization “on”Since it basically locks up my site with dozens of requests a second, I have this disabled and don’t have a site to show it on. But I’m working on getting it set up on a staging site so you can see the issue replicated.
The page I need help with: [log in to see the link]
- The topic ‘Guest Mode Causes Infinite Refresh Loop’ is closed to new replies.