Forum OpenACS Development: Re: Some ideas about package structure ... comments?

Collapse
Posted by Jeff Davis on
The reason lars would like a /resources/package-key/ is to make the things like folder-chunk lars-blogger/www/entry-chunk etc easier to include in other packages (and particularly in portlets) where the [ad_conn package_url] would be /dotlrn/ or / for example. You probably still need to pull out the package url for links so it's not a huge win.

One big win with this is that since the image path does not change accross mounted versions of the package, browsers will cache things better (think for example of dotlrn where fs forums etc are mounted under each class/club instance. As it stands, the browser can't cache the associated images since the urls are all different, but if a /resources/file-storage/x.gif url was used for all instances then the images would be cached much more often.