Am Mon, 30 Mar 2009 18:06:51 -0400 schrieb Bill Freeman:

> I'm writing a little product to allow plone manager role users to have
> Varnish purge its cache by clicking a button in plone.

Great!

> 
> 1.  Am I re-inventing the wheel here?  That is, is there already such a
> product which I haven't noticed?

Nothing I know about.

> 
> I already have a tested python module that telnets to the Varnish CLI,
> commands the purge, and parses the response.
> 
> 
> It seems to me that the proper place for such a button is in the
> @@maintenance-controlpanel.
> 
> 
> 2.  Are there good reasons not to put it there?

IMO it should go into CacheFu, or separate package, not in plone core.

[...] 
> 
> 
> 3.  Am I missing a cleaner way to do this (still as a new button on the
> maintenance controlpanel)?
[...]
> 4.  Are there issues with that plan?  For example, am I going to have to
> come up with a way of making my registration more specific than the base
> one?

It definitly an add on. Varnish is not used by every Plone installation. 

regards Jens
-- 
Jens W. Klein - Klein & Partner KEG - BlueDynamics Alliance


_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to