[Product-Developers] Re: Where does it hurt?
Malthe Borch
mborch at gmail.com
Thu May 22 23:51:37 UTC 2008
Reinout van Rees wrote:
> From a caching viewpoint, I normally end up putting &dtml-portal_url;
> everywhere into the css files to make sure all the images and so are
> loaded from one place and not 20 times from /img.jpg,
> /subfolder/img.jpg, /sub/sub/img.jpg and so on.
This really isn't necessary; images referenced from a stylesheet are
local to the url that contains the stylesheet.
There could be some duplicates due to skin directories, but it shouldn't
be a big issue.
\malthe
More information about the Product-Developers
mailing list