[ZDP] Images on ZDP:8080 use relative paths

Tom Deprez Tom Deprez" <tom.deprez@village.uunet.be
Mon, 17 Jan 2000 00:28:08 +0100


Hi Martijn,

How are you doing? Had a nice rest?

Thanks for pointing this out! I just adjusted this and it is really a
speed-up!

However, I don't understand it very well, why this happens. I believe other
people already explained these things in other ways (I think Rik did in his
drafts), but it looks like I still don't catch the idea...

Can you tell me in another way how this is so important to use /ZDP/images?
Because /ZDP/images is still a relative path, isn't it?

Tom.
----- Original Message -----
From: Martijn Pieters <mj@digicool.com>
To: 'ZDP' <zdp@zope.org>
Sent: Sunday, January 16, 2000 10:02 PM
Subject: [ZDP] Images on ZDP:8080 use relative paths


> Hehya ZDP,
>
> First of all, I am sorry I don't have the time anymore to actively
> participate in the ZDP. I still follow the ZDP mailing list closely, and
> the output of the recent flurry of activity is very exciting.
>
> I noticed today, that the images that make up the left hand navigation
> use relative links, all starting with images/. This has a very negative
> impact on caching, as the same relative URL is used in every different
> part of the site. In ZDP > Projects > ZIT the images come from
> ZDP/projects/zit/images, and in DP > Links they come from
> ZDP/links/images. Because of acquisition, Zope serves the same data, but
> to a browser these are all different, causing it to download all images
> for every new page.
>
> If you were to change all image URLs to starting with /ZDP/images, the
> browser would only have to load the images once, and then use the cache,
> speeding up use of the ZDP site tremendously.
>
> Fix this, and the new ZDP website is ready for prime time.
>
> --
> Martijn Pieters, Software Engineer
> | Digital Creations http://www.digicool.com
> | Creators of Zope      http://www.zope.org
> | mailto:mj@digicool.com       ICQ: 4532236
> | PGP:
> http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149
> -------------------------------------------
>
> _______________________________________________
> ZDP maillist  -  ZDP@zope.org
> http://lists.zope.org/mailman/listinfo/zdp
>
>