Skip to main content

Cache manager which delegates policy to CMF's caching policy manager

Project description

Introduction

What it does?

  • Delegates the setting of cache-related HTTP headers to CMF’s Caching Policy Manager.

  • Will remove a previously set Last-Modified header set by code inside Zope if you ask it to.

Why?

  • Because we can! wink

  • It’s simpler to make arbitrary content to play with the Caching Policy Manager this way. You just associate content that plays with the Zope’s ‘Cacheable’ interface to this Caching Manager and it will automatically set the HTTP headers at the right time.

  • Some code inside Zope (namely, FS{Image|File} and OFS.Image) will unconditionally set a ‘Last-Modified’ header. According to Geoff Davis this might be harmful when Internet Explorer is used so ‘Caching Policy Manager’ grew a setting to control the explicit setting of this header. However there was no way to explicitly remove a previously set header.

Changelog

1.2 - 2008-04-16

  • Repackage as an egg [wichert]

Project details


Release history Release notifications | RSS feed

This version

1.2

Download files

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

Source Distribution

Products.PolicyHTTPCacheManager-1.2.tar.gz (14.4 kB view hashes)

Uploaded Source

Built Distribution

Products.PolicyHTTPCacheManager-1.2-py2.4.egg (24.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page