[Zope-CMF] CachingPolicyManager and Image/File content

Jens Vagelpohl jens at dataflake.org
Wed Apr 5 09:49:17 EDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On 5 Apr 2006, at 14:19, Bert Vanderbauwhede wrote:
> I'm currently setting up a CMF site for testing purposes. While  
> configuring the
> CachingPolicyManager, I discovered that it didn't work for the  
> Image and File
> content types. However, it worked perfectly for the Document content
> type. I only
> got it working for Image and File after I modified the index_html()  
> method in
> CMFDefault/Image.py and CMFDefault/File.py. Anyone knows what I'm  
> doing
> wrong? Or is this a known problem?
>
> I'm using CMF 1.4.7. Is this problem perhaps solved in a later  
> version?

Can't speak for CMF 1.4, looking at 1.5+ here:

Later versions use the very same rendering code for CMFDefault/ 
Image.py and CMFDefault/File.py, there were no changes. Not sure if  
that's helpful to you, but putting them into a skins directory on the  
filesystem *will* trigger the CachingPolicyManager.

jens

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFEM8reRAx5nvEhZLIRAiYHAJ9jp3RpwEHwNfBi2byS1F1mNWCHEQCgkThW
jxEYoV5oIoDa6V6p+bHHFIg=
=0fkO
-----END PGP SIGNATURE-----


More information about the Zope-CMF mailing list