Author Topic: Varnish Cache  (Read 11998 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Varnish Cache
« on: November 09, 2019, 05:43:09 PM »
Hi, I have installed "Nginx + Varnish + Apache" and manually activated Varnish for  my domain.
But I have a problem. Now varnish just cached all content including sessions and cookies.
For example:
I have 2 templates (desktop + mobile). When someone uses Mobile then another user uses Desktop device it loads Mobile template on desktops because of cookies and user sessions.
But the the very bad situation is when some user is logged, then another user loads the home page and he enter in other accounts.

So, how to disable caching sessions and cookies in Varnish?

Offline
*
Re: Varnish Cache
« Reply #1 on: May 11, 2021, 11:54:10 AM »