Share » Forums » Developer » varnish and static cache

varnish and static cache

varnish and static cache

Tuesday 12 January 2010 10:41:06 pm - 3 replies

Author Message

Jérôme Vieilledent

Wednesday 13 January 2010 5:46:44 am

Hi Marko

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

Marko Žmak

Thursday 14 January 2010 1: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?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Gaetano Giunta

Friday 15 January 2010 1: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...

Principal Consultant International Business
Member of the Community Project Board

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

36 542 Users on board!

Forums menu