eZ Community » Forums » Developer » varnish and static cache
expandshrink

varnish and static cache

varnish and static cache

Wednesday 13 January 2010 7:41:06 am - 3 replies

Can Varnish safely be used with eZ static cache? are there any problems or things that I should be careful about?

Wednesday 13 January 2010 2:46:44 pm

Hi Marko

I don't use Varnish but I don't see any blocking reason for not using it with static cache...

Modified on Wednesday 13 January 2010 2:47:01 pm by Jérôme Vieilledent

Thursday 14 January 2010 10:55:37 pm

I have studied a little bit the usage of varnish, and it seems like eZ static cache is not needed when using varnish? Because actually varnish plays the role of static cache.

Is that so?

Friday 15 January 2010 10:38:49 am

There are of course many differences in the details, but they basically do the same thing: when a user asks for an eZP page, and that page has already been generated a little while ago, serve him the old page without asking eZ Publish.

I would not recommend using both at the same time in the general case, as the are many, sometimes hidden subtleties in configuring proper static caches / reverse proxy caches: besides the ttl for a page, the way that view parameters are taken into account to store many versions of the same page, differentiating between anon and logged_in users etc...

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from