O'Reilly logo

Plone 3 Multimedia by Tom Gross

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Setting caching headers with CacheFu

The number-one solution for caching content in Plone is CacheFu. CacheFu is a product bundle consisting of the four packages: Products.CacheSetup, Products.CMFSquidTool, Products.PageCacheManager, and Products.PolicyHTTPCacheManager. CacheFu does a number of things to speed up Plone. In the first place, it patches the template engine to cache the rendered templates in memory. Additionally, it comes with a complex set of configuration options for setting caching headers for external caching applications such as Varnish or Squid.

To install CacheFu, we simply need to add the CacheSetup egg to our buildout. This egg depends on all other eggs of the bundle and takes care of installing them too.

[instance] recipe ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required