Page 2 of 2

Re: Currency select module not working for guest

Posted: 21 Sep 2023, 14:25
by landed
if i clean the cache via backend and refresh it works, big clue.

Re: Currency select module not working for guest

Posted: 21 Sep 2023, 14:41
by landed
I think it's finally working but sadly we have to lose the feature we all want system page cache. I have tried to exclude the menu item for the POST request but it's the redirected page which we want to clear. I don't know if this is a lot of work from a dev concept to force the page to redirect with something like here/url?&cachebreaker=23453464656 forces a new page since the url is 'new'.

I do like to have fast pages and this is a big deal to not be able to use the system page cache. This is the cache under plugins not the settings higher level cache. Module is excluded from being cached under its settings but that doesnt affect it.

Re: Currency select module not working for guest

Posted: 21 Sep 2023, 17:59
by Nidzo
System page cache is for static sites. Don't use it.

You can use Conservative cache in Global configuration (System Cache) but you must exclude Phoca Cart modules from caching. This is compromise that must be made.

Re: Currency select module not working for guest

Posted: 21 Sep 2023, 18:05
by landed
I use system page cache for most of my Joomla sites because it works well and I care about CWV now- I use SEO to get traffic. And works well mostly. I think I have it finally working now. Appreciate your nod to the cache being the issue. Staring me in the face. You can cache the module I think as it is pretty static in nature (its content never changes)? Will have to look more.
I also use conservative cache for the server side stuff- thanks for confirming this.

I don't have a good way yet to get this nicer on mobile. What did you do for that?

Re: Currency select module not working for guest

Posted: 21 Sep 2023, 18:15
by Nidzo
Seems O.K. now. Maybe you could increase font size

Code: Select all

.ph-small {
    font-size: 0.9em;
}
Image

Re: Currency select module not working for guest

Posted: 21 Sep 2023, 18:17
by landed
Thank you - great advice.