Magento - Varnish / ESI:Include / Custom Pricing Based on Cookie

304 views Asked by At

I am implementing esi:includes in a site using Varnish. The main reason for doing this is to be able to serve users north / south pricing based on their postal code that gets saved to a cookie. However, the performance seems to be quite an issue now. See: http://stage.mobelringen.trollweb.no/soverommet/sovesofaer.html

Price blocks are loading individually, and slowly.

Is there a better way to implement this; for example, modifying the url to specify 'n' or 's' once the user's region is determined, so that product and category pages can be cached in their entirety in both 'n' and 's' versions?

0

There are 0 answers