[Dojo-interest] avoiding multiple download of dojo.js

Joe Chen joe.chen at gmail.com
Thu Sep 14 18:38:24 MDT 2006

You'll want to set your headers to cache the javascript.  This article
by Cal Henderson (from Flickr) was helpful:



On 9/14/06, V Jesuraj <jesurajv at acotex.com> wrote:
> Hi,
> I am caching some application specific messages in the browser using
> dojo.storage for speed. When I want to access these locally cached
> messages through another page (program) I am forced to include dojo.js
> in every other page, resulting in reduced speed. Where am I going wrong?
> There has to be a better way of accessing the locally cached messages
> without downloading the dojo.js again and again.
> Any suggestion would be appreciated.
> Jesu
> _______________________________________________
> Dojo FAQ: http://dojo.jot.com/FAQ
> Dojo Book: http://manual.dojotoolkit.org/DojoDotBook
> Dojo-interest at dojotoolkit.org
> http://dojotoolkit.org/mailman/listinfo/dojo-interest

More information about the Dojo-interest mailing list