"I have some questions regarding caching issues in OpenCart 3.0.3.9 with PHP 7.4 Makali Theme. Let's say a customer visits my website, and then after I make some changes to the website, the customer revisits. However, they're still seeing the old settings. For example, the default currency was USD but changed to THB. Even though we've set THB as the default, returning customers still see USD. However, when they open the website in incognito mode, they see the correct currency as THB.
We can't expect all old customers to clear their browser cache every time they visit our site after we make changes. Is there anything we can implement on the website to trigger a cache refresh for visitors' browsers?"
Currency and language is recorded in cookies.
So, even if your default currency changes, a returning customer will get the currency he previously selected as it is still recorded as such in the cookie in his browser. This is as it should be.
So, even if your default currency changes, a returning customer will get the currency he previously selected as it is still recorded as such in the cookie in his browser. This is as it should be.
Ok got it! so this applies only for Currency and lang... Thanks again!nonnedelectari wrote: ↑Thu Mar 28, 2024 11:49 pmCurrency and language is recorded in cookies.
So, even if your default currency changes, a returning customer will get the currency he previously selected as it is still recorded as such in the cookie in his browser. This is as it should be.
There are various ways, you could change the cache headers, or add URL variables to your JS files and CSS files.
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Legendary Member
Who is online
Users browsing this forum: No registered users and 16 guests