Currency select module not working for guest

Phoca Cart - complex e-commerce extension
User avatar
landed
Phoca Professional
Phoca Professional
Posts: 121
Joined: 15 Sep 2023, 10:51

Re: Currency select module not working for guest

Post by landed »

if i clean the cache via backend and refresh it works, big clue.
User avatar
landed
Phoca Professional
Phoca Professional
Posts: 121
Joined: 15 Sep 2023, 10:51

Re: Currency select module not working for guest

Post 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.
User avatar
Nidzo
Phoca Professional
Phoca Professional
Posts: 387
Joined: 07 Nov 2018, 14:55

Re: Currency select module not working for guest

Post 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.
User avatar
landed
Phoca Professional
Phoca Professional
Posts: 121
Joined: 15 Sep 2023, 10:51

Re: Currency select module not working for guest

Post 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?
User avatar
Nidzo
Phoca Professional
Phoca Professional
Posts: 387
Joined: 07 Nov 2018, 14:55

Re: Currency select module not working for guest

Post by Nidzo »

Seems O.K. now. Maybe you could increase font size

Code: Select all

.ph-small {
    font-size: 0.9em;
}
Image
User avatar
landed
Phoca Professional
Phoca Professional
Posts: 121
Joined: 15 Sep 2023, 10:51

Re: Currency select module not working for guest

Post by landed »

Thank you - great advice.
Post Reply