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 details)

Uploaded Source

Built Distribution

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

Uploaded Source

File details

Details for the file Products.PolicyHTTPCacheManager-1.2.tar.gz.

File metadata

File hashes

Hashes for Products.PolicyHTTPCacheManager-1.2.tar.gz
Algorithm Hash digest
SHA256 8ebf5c8526268dd2866f8418a7a0b8812de3f8cbe4c5e19a7b2f167758b1b11f
MD5 3159a73d6f2b616f5e47ec87930abdbe
BLAKE2b-256 667fedbb7d17603b923d4883bb761c461202e9e5b77e5050dd71f69805acc6bb

See more details on using hashes here.

File details

Details for the file Products.PolicyHTTPCacheManager-1.2-py2.4.egg.

File metadata

File hashes

Hashes for Products.PolicyHTTPCacheManager-1.2-py2.4.egg
Algorithm Hash digest
SHA256 9228f3bc8a51f8c4b23bf62e8a1dff77ccf6e1777d270ec77cd6e6b9a6aca112
MD5 bf50e9cf6187e5b5b9fb8667d8c39ac7
BLAKE2b-256 1856f6aaec280e1aee10993c6991ea227f22fe0c713a14749ce32d36f22ee73f

See more details on using hashes here.

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