0

We are running an ecommerce site configured by drupal with nginx & php-fpm. We also use memcached with mysql database.The service was running smoothly before we enabled the varnish caching. After enabling the varnish we are getting better performance but also facing a session related issue when accessing the "add to cart" section. We have bypassed the urls related to "add to cart" from varnish but still no luck.

The issue is described below When we add any product to cart for purchase we can see the count number on the "add to cart" section but if the page refreshes and served by the varnish then the count number resets to zero and after that the cart became empty.

Now, which configuration need to be set on varnish to resolve the issue, so that we can use varnish caching on the system?

Varnish conf:

Varnish conf

Nginx Conf:

Nginx conf

0 Answers0