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

Fernando Fuente Fernando Fuente" <f.fuente@gmx.net
Sun, 27 May 2001 21:27:55 +0200


sorry for asking again,

i tried the http-cache. still doesn't work ;(. what i want to achieve is
that when this image is cached once is shall be taken from the cache when
opening a new site which has not been viewed before but includes this
image....

cheers,

fernando


----- Original Message -----
From: "E. Seifert" <e.seifert@gmx.net>
To: "Fernando Fuente" <f.fuente@gmx.net>
Cc: <zope@zope.org>
Sent: Sunday, May 27, 2001 10:08 AM
Subject: Re: [Zope] Newbie question: http-cache, caching elements


> 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
>
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>