[Zope-CMF] Re: CachingPolicyManager improvements
pw_lists at slinkp.com
Tue Sep 6 12:51:49 EDT 2005
> On 6 Sep 2005, at 15:24, Alexander Limi wrote:
>> On Tue, 06 Sep 2005 12:21:07 +0200, Florent Guillaume
>> <fg at nuxeo.com> wrote:
>>> Alexander Limi wrote:
>>>> And the biggest etc: RAMCache does not know how to handle
>>>> anything but 7-bit ASCII data.
>>> What? There's no such limitation. RAMCacheManager caches arbitrary
>>> python objects in memory. Unless you're thinking of the fact that
>>> it doesn't cache REQUEST headers, but that's not its goal.
>> Try caching a content object in UTF-8 with it, and you'll see what I
>> mean (yes, this is not what it's designed for, I know :).
Ah, I think I see what you mean:
In the suggested case, since the cached object returns only
a fragment of XHTML, the encoding would be "out-of-band" data,
which RAMCacheManager does not support. You're right, that can't work.
More information about the Zope-CMF