Installing Varnish—a caching agent
To add Varnish to your Buildout, you can use one of the CMMI recipes (configure
; make
; make
install
) like zc.recipe.cmmi (http://pypi.python.org/pypi/zc.recipe.cmmi) or hexagonit.recipe.cmmi (http://pypi.python.org/pypi/hexagonit.recipe.cmmi).
You can also use an operating system vendor package. Whichever you choose, you may want to use Buildout to create a Varnish configuration file suitable to use with your Plone site.
Advanced users may create their own configuration file template, and generate a configuration file dynamically when Buildout runs, with the help of the collective.recipe.template recipe (http://pypi.python.org/pypi/collective.recipe.template).
We will not cover installation with vendor packages, or the advanced template generation approach.
What we will cover is Varnish installation and configuration with zc.recipe.cmmi (http://pypi.python.org/pypi/zc.recipe.cmmi) and plone.recipe.varnish ( http://pypi.python.org/pypi/plone.recipe.varnish)...