Hoping someone will have an answer to caching of website on a mobile phone.
it takes forever to automatically update any changes that have been done on our website on the mobile. like 24 hours in most cases. Desktop changes are updated instantly. The only way i can see any changes i've done to the site on a phone is by going to my settings on the phone and clearing the cache and thats not ideal for users who regularly visit the site.
Anyone have experience of this or a workaround for this or knowledge why this happens for browsers on phones ? Don't know if this an OC issue? Running Opencart 2.3.0.2, we have Nitropack installed (old version) clears cache and works still on desktop.
it takes forever to automatically update any changes that have been done on our website on the mobile. like 24 hours in most cases. Desktop changes are updated instantly. The only way i can see any changes i've done to the site on a phone is by going to my settings on the phone and clearing the cache and thats not ideal for users who regularly visit the site.
Anyone have experience of this or a workaround for this or knowledge why this happens for browsers on phones ? Don't know if this an OC issue? Running Opencart 2.3.0.2, we have Nitropack installed (old version) clears cache and works still on desktop.
Are you using CloudFlare or anything like that?
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Use your web browser's developer tool network tab to check the headers you pages are returning. You can even switch it to mobile emulation to see if the headers are any differnt.
What am i looking for in the headers?ADD Creative wrote: ↑Thu Mar 16, 2023 8:14 pmUse your web browser's developer tool network tab to check the headers you pages are returning. You can even switch it to mobile emulation to see if the headers are any differnt.
"cache-control", "expires", anything that mentions cache, etc in the response headers for a page.
Hi!
I also recommend versioning static resources.
After changes, change the versions of styles and scripts so that they are updated for all clients.
I also recommend versioning static resources.
Code: Select all
<link rel="stylesheet" type="text/css" href="stylesheet.css?v=1.1002">
My extensions in marketplace. [ security | flexibility | speedup ]
Yep this is a good idea.halfhope wrote: ↑Fri Mar 17, 2023 5:50 amI also recommend versioning static resources.Code: Select all
<link rel="stylesheet" type="text/css" href="stylesheet.css?v=1.1002">
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Do you mean that changes made to product information or static files such as CSS, not being reflected on the mobile browser?
Business Web Development | Content Creation | Analytics and Reporting | SEO
It might be a server problem but CloudFlare should reduce the load on the server and speed things up for your customers.
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Who is online
Users browsing this forum: No registered users and 211 guests