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]
Release files for Products.PolicyHTTPCacheManager 1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| Products.PolicyHTTPCacheManager-1.2.tar.gz | 14.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| Products.PolicyHTTPCacheManager-1.2-py2.4.egg | Legacy Egg format | - | - | Details |
Total release size: 39.0 kB
Release files / Products.PolicyHTTPCacheManager-1.2.tar.gz
| Download URL | Products.PolicyHTTPCacheManager-1.2.tar.gz |
|---|---|
| Size | 14.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8ebf5c8526268dd2866f8418a7a0b8812de3f8cbe4c5e19a7b2f167758b1b11f
|
|
BLAKE2b-256 checksum How to use checksums |
667fedbb7d17603b923d4883bb761c461202e9e5b77e5050dd71f69805acc6bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / Products.PolicyHTTPCacheManager-1.2-py2.4.egg
| Download URL | Products.PolicyHTTPCacheManager-1.2-py2.4.egg |
|---|---|
| Size | 24.6 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
9228f3bc8a51f8c4b23bf62e8a1dff77ccf6e1777d270ec77cd6e6b9a6aca112
|
|
BLAKE2b-256 checksum How to use checksums |
1856f6aaec280e1aee10993c6991ea227f22fe0c713a14749ce32d36f22ee73f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |