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

Ausum Studio ausum_studio@hotmail.com
Sat, 22 Mar 2003 08:16:33 -0500


----- 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
>
>