[Zope] Newbie question: http-cache, caching elements

E. Seifert e.seifert@gmx.net
Sun, 27 May 2001 10:08:42 +0200


Hi Fernando,

Fernando Fuente wrote:
> thanks so far. i knew about these two possibilities. i would like to use
the
> http-cache. the problem is that i don't know how to cache single elements
> instead of completly parsed pages.

Once again there are two way to do this. If you already have created a cache
manager:

1. If you have to associate several objects with your cache manager go its
'Associate' view. Here you can view the object already associated with the
manager or choose new ones. You'd probably want to select 'Image' as object
type and click 'Locate'. Now you can check all the objects you'd like to be
cached and finally press 'Save changes'

2. Go to the object/image (which has to be in the cache manager's aquisition
path). Select the object's Cache tab now and choose the cache manager which
should cache the object/image under 'Cache this object using'. Click on
'Save Changes' to associate it with the cache manager.

Now I'm sure you can get it.

Greetings,
Eric