-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Paul Winkler wrote: >>On 6 Sep 2005, at 15:24, Alexander Limi wrote: >> >>>On Tue, 06 Sep 2005 12:21:07 +0200, Florent Guillaume >>><[EMAIL PROTECTED]> 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.
Heh, you just need to cache a tuple, (encoding, xhtml), instead. ;) RAMCacheManager is for programmers ;) It is a crucial design mistake in the StandardCachceManagers product that the architecture treats RAMCacheManager as a plug-compatible equivalent with page-level caches. Tres. - -- =================================================================== Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDHc/f+gerLs4ltQ4RAqtYAJ9d6JDC0KbSvPXyKT0l01LbCFNr2ACeKiJl 9w1hsZpNM/wjAj2yQqf5dDk= =A040 -----END PGP SIGNATURE----- _______________________________________________ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests