title: How to speed up Ajax "add to cart" updates in Virtuemart shop?
body: <p>I´m working on a Joomla powered webshop with Viruemart v.2.6.6</p>
  
  <p>Everything is working well and the design is almost complete, but I see one little problem regarding the Ajax based "add to cart" function.</p>
  
  <p>Whenever someone clicks "add to cart" a modal popup instantly pops up showing information: 
  "Product successfully added to cart... Continue shopping?   Go to cart?" but I can see in the mini-cart that it actually takes up to 3-4 seconds before the Ajax call has been processed and the product is updated into the cart.</p>
  
  <p>The problem is that sometimes the lag between clicking the add-to-cart button and the actual cart update takes so long that if the customer then clicks the "Go to cart" link the cart will be empty..</p>
  
  <p>My question is, does anyone have experience with optimization of this kind of Ajax calls and in particular with Virtuemart?
  As far as I can tell, in Virtuemart the add to cart form is controlled by the "js-recalculate" class which triggers the Ajax call.</p>