As far as I can see, an advantage with attaching static stuff to
OFS.misc_.MyInstalledProduct is that it becomes available globally
which makes sense to avoid loading a different icon URL for each www
icon in the ZMI of a product. Makes sense also for example if you have
one Zope with 10 different instances because then there's just one on
/misc_/MyProduct/screen.css to cache and download for the browser if
you've placed a static file there called that.

A drawback seems to be that errors happening in
/misc_/MyProduct/static-content isn't reported in the error_log. This
makes it hard to spot bugs in objects in there and, more commonly,
NotFound errors.

Is there anything I can do about that or should I not expect so much
and instead use the instance?

-- 
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to