VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: microtribe on October 03, 2013, 23:21:54 PM

Title: VM2 Add to Cart breaks with Joomla cache enabled
Post by: microtribe on October 03, 2013, 23:21:54 PM
If I enable Joomla conservative caching, after a few hours, the add to cart button stops working. It works again if I clear the cache, or if I turn off caching. I currently have it turned off: www.forrestastrology.com

Any ideas what could be causing the problem?
Title: Re: VM2 Add to Cart breaks with Joomla cache enabled
Post by: jenkinhill on October 03, 2013, 23:53:14 PM
You should not cache the cart.  http://forum.virtuemart.net/index.php?topic=116897.msg394537#msg394537
Title: Re: VM2 Add to Cart breaks with Joomla cache enabled
Post by: microtribe on October 04, 2013, 00:48:41 AM
Thanks Kelvyn. But this post says to avoid Progressive Caching, not Conservative caching, which is what I was using. http://www.itoctopus.com/why-progressive-caching-in-joomla-should-be-avoided-in-most-cases
Can you clarify? Will VM not work with Concervative caching enabled, which is recommended in almost every Joomla speed post I find online?

Conservative caching speeds up the main part of my site considerably. So it's a shame if I can't take advantage of it.
Title: Re: VM2 Add to Cart breaks with Joomla cache enabled
Post by: Maxim Pishnyak on October 06, 2013, 11:57:01 AM
Quote from: microtribe on October 04, 2013, 00:48:41 AM
Conservative caching speeds up the main part of my site considerably. So it's a shame if I can't take advantage of it.
You could cache js, css and images without this unpredictable Joomla cache. Check .htaccess possibilities.