Guest Mode for Open Cart

AndreyPopov

Well-Known Member
#21
It means what it means:
The default version of the page from cache. A default version has no varies or other settings that could slow down page load
I ask you again and again : where "default version of the page from cache" stored?
you not answer!

you only repeat and repeat: ESI, ESI, ESI
 

AndreyPopov

Well-Known Member
#23
Because ESI matters in case of "Guest Mode" in WP cache plugin. You have neither Wordpress nor ESI, so why do you care about functions you can't use with OLS and OC?!
because I read link you provide about "Guest Mode" in WP and ask you again:
where "default version of the page from cache" stored?


Is this question now answered or not??
you NOT answered this question!
 

AndreyPopov

Well-Known Member
#25
default version of the page from cache is stored where all other cached files are stored.
LSCache stored by default
public
private
esi

https://docs.litespeedtech.com/lscache/basics/

ESI (Edge Side Includes)
ESI provides an opportunity to combine all types of content on a single page. Usually, you would start with a public page, and then "punch holes" for private or uncached content.

"Guest Mode"
A user’s first visit is different when Guest Mode is activated. Before trying to learn anything about the visitor, LiteSpeed server immediately serves a default version of the page from cache.
This means, for this first visit only, there are no cache varies and no ESI.
question: where LiteSpeed server find default version of the page for immediately serves?
from what cache?
is ESI cache exist for default version of the page?

is private cache exist for default version of the page?
 

serpent_driver

Well-Known Member
#26
LSCache stored by default
public
private
esi
This not default. Default means caching without any custom cache rules, but LScache has basically some system default settings.

Example:
if there is no X-LiteSpeed-Cache-Control defined, cache is public by default and so on.


question: where LiteSpeed server find default version of the page for immediately serves?
from what cache?
There is nothing that has to be find. As already described above, LScache has default settings and if these settings are not overwritten by custom settings or rules LScache uses system default settings.



is ESI cache exist for default version of the page?
No, ESI is always off by default and must be enabled and defined for certain "wholes".


is private cache exist for default version of the page?
No, same as ESI
 
Last edited:

serpent_driver

Well-Known Member
#27
But again, why do you care about things you don't/can't have/use? With OLS and OC you have almost , but only almost, everything for maximum speed. Guest Mode doesn't matter for you, because with OLS you can't use ESI. So there is no "brake" that could slow down your website.
 

AndreyPopov

Well-Known Member
#28
Guest Mode doesn't matter for you
I not need Guest Mode. and never want.


There is nothing that has to be find. As already described above, LScache has default settings and if these settings are not overwritten by custom settings or rules LScache uses system default settings.
you again NOT answer for question. only bla-bla-bla about "how it can work or not"
 

AndreyPopov

Well-Known Member
#30
really?!?!?!?!!

you are hard mistake!!

even if I use OLS
I use Separate View for Mobile (_lscache_vary=device:mobile) and Separate View for Safari (_lscache_vary=browser:safari) with rewrite rules in .htaccess - this cannot be "Guest Mode" ;)
NO "default version of page" in cache
using _lscache_vary is NOT "Guest Mode"
 

serpent_driver

Well-Known Member
#31
Okay, not entirely and not like cache plugin for Wordpress defines Guest Mode, but almost and the reason for this is ESI. ESI is fantastic, but costs most performance. Everything else (e.a. cache varies) that can slow down page speed is peanuts in comparison with ESI. So you have OLS and to get cart function work you must use AJAX function instead of ESI. The result is that with OLS and OC you have almost no brakes that can slow down page speed.
 
Top