[Zope] Acquisition isn't always bandwidth and browser-cache friendly, advice needed

Bill Anderson bill.anderson@libc.org
Mon, 15 Nov 1999 08:12:44 -0700


Farzad Farid wrote:
> 
>  Hi,
> 
>  I have recently started working with Zope and I am in the process of
> building an intranet information site with it. The Acquisition paradigm
> is very powerful and interesting but I have a few remarks about its
> efficiency bandwidth-wise
> 
>  My site will mostly be composed of internal corporate documents,
> classified into folder, subfolders etc. I want a corporate logo to appear
> in top of each page. Therefore I have created a "logo" object in the top
> "images" folder, and each document uses the tag:
>                 <dtml-var "images.logo">
> 
>  Now the big trouble : suppose I have lots of documents and a deep tree of
> folder, the HTML tags I get in each page are:

...

>  The same document appears on the site with dozens of different names, is
> transfered over the network dozens of times and encumbers the browser
> memory and disk cache dozens of times!
> 
>  How can this problem be solved elegantly without completely putting aside
> the acquisition process? How can I do it in this particular case with
> images?

<img src=/images/logo> gives it the same URL everytime. IN this case, I
don't see why you would need aquisition, since AFAIK, that is what
causes the relative urls you don't want.

-- 
"They laughed at Columbus, they laughed at Fulton, they laughed at the
Wright brothers.  But they also laughed at Bozo the Clown." -- Carl
Sagan