Guide to Caching¶
Caching strategies to improve performance.
This guide particularly focuses on Unix-like environments, though the stack discussion may be useful to everyone.
Any dynamically generated website with a non-trivial number
of visitors, will benefit from
that are used for multiple visitors are stored in a way that
is really fast to retrieve, so that the (often complicated)
back-end server doesn't have to generate those resources for
Plone is no exception to that. Caching in Plone is a
two-step process for most larger sites. There is an add-on
that is shipped with Plone since version 4.1. On its own, it
will already speed up response time quite dramatically. You
simply have to enable it, use the default values provided,
and you will have a faster site.
But plone.app.caching works even better together with a dedicated front-end cache, a program that is specialized in doing this work. These days, the favourite and recommended program for that is called "Varnish".
Here, you will find documentation on both. Remember, they work best together.
- Varnish 3.x
- Varnish 4.x