Hello all,
I am running 3.0.7 and everything is fine and dandy. However I turned on server side cache to help the store run better and faster. It worked and the site is now much faster. However, in some cases its too fast and the cart tracking is being lost. For instance I add 2 things to cart. Move around site, and go back to homepage and it shows 0. I know its because the page is now showing as cache https://showbox.tools/.
Is there a way to block an element itself like the cart, from cache? On the server side I only see options to block pages from being cached. But for opencart that doesnt work since its all pages.
Any ideas?
I am running 3.0.7 and everything is fine and dandy. However I turned on server side cache to help the store run better and faster. It worked and the site is now much faster. However, in some cases its too fast and the cart tracking is being lost. For instance I add 2 things to cart. Move around site, and go back to homepage and it shows 0. I know its because the page is now showing as cache https://showbox.tools/.
Is there a way to block an element itself like the cart, from cache? On the server side I only see options to block pages from being cached. But for opencart that doesnt work since its all pages.
Any ideas?
Last edited by Jassim1 on Thu Nov 25, 2021 8:55 pm, edited 1 time in total.
What does your server setup look like? Does it include LiteSpeed and is it a shared hosting environment or VPS?Jassim1 wrote: ↑Thu Nov 25, 2021 9:08 amHello all,
I am running 3.0.7 and everything is fine and dandy. However I turned on server side cache to help the store run better and faster. It worked and the site is now much faster. However, in some cases its too fast and the cart tracking is being lost. For instance I add 2 things to cart. Move around site, and go back to homepage and it shows 0. I know its because the page is now showing as cache.
Is there a way to block an element itself like the cart, from cache? On the server side I only see options to block pages from being cached. But for opencart that doesnt work since its all pages.
Any ideas?
2 Week FREE Trial of our Shared Hosting plans (DIrectAdmin or cPanel) for new customers
2 Week FREE Trial of Astra Firewall and Malware Scanner
Visit our website for full details and to start your trial today - www.evolvewebhost.com
Active Member
Which server side cache did you enable?
Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com
There is an issue with OpenCart 3.x that will allow browsers to cache responses they shouldn't.
viewtopic.php?f=202&t=206449#p786660
If you did want to cache dynamic content, you would need a cache extension that loads the cart details in a later response.
viewtopic.php?f=202&t=206449#p786660
If you did want to cache dynamic content, you would need a cache extension that loads the cart details in a later response.
Yep I think it could be this too.ADD Creative wrote: ↑Thu Nov 25, 2021 6:09 pmThere is an issue with OpenCart 3.x that will allow browsers to cache responses they shouldn't.
viewtopic.php?f=202&t=206449#p786660
If you did want to cache dynamic content, you would need a cache extension that loads the cart details in a later response.
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
I would disagree with this. I'd say optimise your content and ALSO use caching.mikeinterserv wrote: ↑Thu Nov 25, 2021 8:13 pmOptimise your content and do NOT use caching - simple as that
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Who is online
Users browsing this forum: No registered users and 18 guests