Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Zope2 integration for z3c.caching

Project Description

Introduction

This package is a bridge between z3c.caching and CacheSetup: it takes rulesets configured via z3c.caching and looks for a rule with the same id in your current CacheSetup configuration. That rule is then used to set the caching headers for the response.

This makes it possible to cache content which CacheSetup itself can not handle (such as browser views).

Installation

To use five.caching you need only need to load its zcml.

Usage

The only thing you need to do to enable five.caching to do its work is loads its zcml.

A common problem you might notice is that CacheSetup rules often use python:object.modified() as expression, which does not work with all objects supported by z3c.caching and five.caching. As an alternative this package provides a lastmodified browser view which returns the same information. You can use it by configuring object/@@lastmodified as expression in your CacheSetup rules.

Changelog

1.0 - 2009-05-20

  • Handle anonymous traffic correctly. CacheFu needs to be passed None and not a special user object to use the anonymous rules. [hannosch]
  • Corrected the configure.zcml to include the plone.postpublicationhook configuration. [hannosch]

1.0b2 - October 21, 2008

  • Handle instance methods as well. This makes it possible to define cache rules for CMF skin objects. [wichert]
  • Add @@lastmodified helper view. [wichert]

1.0b1 - October 15, 2008

  • Initial release [wichert]
Release History

Release History

This version
History Node

1.0

History Node

1.0b2

History Node

1.0b1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
five.caching-1.0.zip (9.5 kB) Copy SHA256 Checksum SHA256 Source May 20, 2009

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting