Skip to main content

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]

Metadata

Release files for five.caching 1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for five.caching 1.0
File Size Uploaded Provenance Actions
five.caching-1.0.zip 9.5 kB Without provenance Details for five.caching-1.0.zip

Release files / five.caching-1.0.zip

Download URL five.caching-1.0.zip
Size 9.5 kB
Tags Source
SHA-256 checksum
How to use checksums
b88cb8bc34b358a14f28afea018ffbd1d2fd89469df53654c9d6296d2500ca12
BLAKE2b-256 checksum
How to use checksums
7e683b91a980c60d41674479428761c1f361cc3d8dca4d5a296548f52b8d44f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for five.caching 1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page