[Dojo-interest] Request params on dojo.require()

Matthew Tyson matthewcarltyson at gmail.com
Fri Mar 5 18:52:40 EST 2010


Does this look correct?

djConfig { cacheBust: '444' }

It doesn't seem to be working.

On Fri, Mar 5, 2010 at 4:38 PM, LiuCougar <liucougar at gmail.com> wrote:

> there is dojo.config.cacheBust, which will be appended to the end of
> the url of all dojo.require() resources
>
> On Fri, Mar 5, 2010 at 15:35, James Burke <jburke at dojotoolkit.org> wrote:
> > On Fri, Mar 5, 2010 at 3:20 PM, Matthew Tyson
> > <matthewcarltyson at gmail.com> wrote:
> >> When I use dojo.require() to include a layer, is there anyway to send a
> >> request param along with it.  I want to use this to append a build
> number
> >> and force no-cache when the builds change.
> >
> > The normal suggestion is to change the modulePaths to a path that has
> > the build number in it. Currently there is no config option to allow
> > appending URL parameters to the end of request.
> >
> > James
> > _______________________________________________
> > FAQ: http://dojotoolkit.org/support/faq
> > Book: http://docs.dojocampus.org
> > Dojo-interest at mail.dojotoolkit.org
> > http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
> >
>
>
>
> --
> Frontend Lead, teampatent.com
> 生于忧患,死于安乐
> "People's characters are strengthened through struggle against
> difficulties; they are weakened by comfort."
> - Old Chinese adage
> _______________________________________________
> FAQ: http://dojotoolkit.org/support/faq
> Book: http://docs.dojocampus.org
> Dojo-interest at mail.dojotoolkit.org
> http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.dojotoolkit.org/pipermail/dojo-interest/attachments/20100305/22707168/attachment.htm 


More information about the Dojo-interest mailing list