[Setup] Doubt about plone - caching (varnish)

Gil Forcada gforcada at gnome.org
Fri Feb 17 21:54:56 UTC 2012


El dj 16 de 02 de 2012 a les 10:08 -0600, en/na Armando Andrade va
escriure:
> Regards. 
> 
> We have deployed three servers with the configuration showed in
> diagram, basically, we have an arrange of nginx -> varnish -> haproxy
> -> (4 instances of plone) (varnish cache 1 and 2)  in two servers, and
> an arrange of nginx -> haproxy -> (4 instances of plone) for edition
> purposes in another. Now two questions here:
> 
> a) When I edit one news item, how can plone tell to varnish cache 1
> and 2 in the other group of instances servers that, there was a change
> and they have to invalidate that object, if the change was made in the
> edition server?.

Hi,

If you use plone.app.caching you can configure which servers (varnish or
others) have to be pinged with the PURGE method so that they invalidate
the pages cached for that specific object.

> b) if I change a newsitem that affects my portal page, plone sends the
> invalidation for the newsitem, and  it sends the invalidation for the
> portal page affected as well?

Hopefully someone else will reply on that.

Cheers,

> _______________________________________________
> Setup mailing list
> Setup at lists.plone.org
> https://lists.plone.org/mailman/listinfo/plone-setup


-- 
Gil Forcada

[ca] guifi.net - una xarxa lliure que no para de créixer
[en] guifi.net - a non-stopping free network
bloc: http://gil.badall.net
planet: http://planet.guifi.net



More information about the Setup mailing list