[Zope-CMF] How to cache CMF filesystem images?

Peter Simmons pete@bcmpweb.com
Tue, 25 Mar 2003 11:23:52 +1200


Sorry to jump in the middle.

What would the cache property be?

cache=??

The name of the cache manager?

Regards,
Pete

Ausum Studio wrote:

>----- Original Message -----
>From: "Tres Seaver" <tseaver@zope.com>
>(...)
>  
>
>>Two possibilities:
>>
>>  - Associate the image with a cache manager, by giving it an attribute,
>>    'cache' (set this in its .properties file, in CMF 1.3, or in its
>>    .metadata file in the CVS HEAD).
>>    
>>
>
>Interesting. I'll try it right away.
>
>  
>
>>  - Add a "CMF Caching Policy Manager' tool to your site, and set
>>    either its default policy, or else one which matches your images, to
>>    the caching interval you prefer.
>>    
>>
>
>Every now and then I've googled for information on how to use this tool, but
>I haven't. found it so far. I wonder whether anyone could post a simple
>explanation on the subject.  :)
>
>  
>
>>Also, if you have customized the 'folder_contents' view, you should
>>verify that the URLs computed for the icons are all absolute;
>>otherwise, they won't be cacheable by Squid.
>>    
>>
>
>This is ok.
>
>Thank you, Tres,
>
>
>Ausum
>
>
>
>  
>
>>Tres.
>>--
>>===============================================================
>>Tres Seaver                                tseaver@zope.com
>>Zope Corporation      "Zope Dealers"       http://www.zope.com
>>
>>
>>    
>>
>
>_______________________________________________
>Zope-CMF maillist  -  Zope-CMF@zope.org
>http://mail.zope.org/mailman/listinfo/zope-cmf
>
>See http://collector.zope.org/CMF for bug reports and feature requests
>
>
>  
>