This cubes enables a purge mechanism for a cubicweb website that is sitting behind a varnish cache.
The purge mechanism consists of sending purge commands to the administration backend of varnish (by default localhost:6082). Generally it is recommended to protect this management port with a secret file which can be configured in this cube. Multiple backends can be controlled in this manner in a distributed setup.
Out of the box, this cube will not purge any URLs. The logic of which pages should be "purged" has to be implemented in content cubes.
To configure which urls to purge, you have to implement an IVarnishAdapter, for example
.. sourcecode:: python
Debugging : cubicweb-varnish will not crash when it cannot connect to the administrative port, it will silently log an error in the log.
|test environment||varnish env|
|may be discussed on||<not specified>|
|use license||<not specified>|