On 2/23/06, Andreas Andreou <[EMAIL PROTECTED]
> wrote:
wow!!!
never seen the tests run so fast as they do now :)
Andreas Andreou wrote:
>???
>no need to.
>A simple
>src.indexOf(url)>=0
>instead of
>src="">>does the trick
>
>
>Andrea Chiumenti wrote:
>
>
>
>>You could try to use hivemind to build an Hash that contains pair of
>>[filename, checksum]
>>
>>
>>On 2/21/06, *Andreas Andreou* <[EMAIL PROTECTED]
>><mailto:[EMAIL PROTECTED] >> wrote:
>>
>> ok, i found the cause for the first one...
>> tacos.loadScriptFromUrl indeed has the logic to load only new js.
>> It tries to see if that js is already in the page.
>> The problem is that the url to load is generaly
>>
>> /app?digest=61aeba85d9a46bbe9b8557c1464732a5&path=%2Fnet%2Fsf%2Ftacos%2Fajax%2Fcomponents%2Ftacos.js&service=asset
>>
>> and the existing script are of the form
>> http://server.com:port/app?digest=61aeba85d9a46bbe9b8557c1464732a5&path=%2Fnet%2Fsf%2Ftacos%2Fajax%2Fcomponents%2Ftacos.js&service=asset
>> < http://server.com:port/app?digest=61aeba85d9a46bbe9b8557c1464732a5&path=%2Fnet%2Fsf%2Ftacos%2Fajax%2Fcomponents%2Ftacos.js&service=asset>
>>
>> so the if (src="" line always returns false...
>>
>> i'm fixing this :)
>>
>>
>>
>> Andreas Andreou wrote:
>>
>> >While hunting down some bugs, I came across these issues:
>> >- On every single ajax request we reload all tacos js files in
>> the html.
>> >Why???????????
>> >This has the side-effect that the tacos object gets
>> re-initialized and
>> >loses its state.
>> >It makes difficult adding custom effects (they're lost after the
>> first
>> >request) or using
>> >dojo.event.connect for tacos.formSubmit or
>> tacos.defaultLinkAction (to
>> >add additional
>> >dojo parameters not supported directly by tacos, i.e.
>> 'transport'). So,
>> >unless there's a good
>> >reason for this, i'm going to patch tacos.loadScriptFromUrl so
>> that it
>> >skips our js files.
>> >- Do we really need AjaxDirectService to append the random string
>> to our
>> >urls? I've seen
>> >that dojo supports a parameter (in dojo.io.bind) to disable browser
>> >caching (by doing the same
>> >thing). My goal here is to have simpler urls.
>> >Andreas Andreou
>> >
>> >
>> >-------------------------------------------------------
>> >This SF.net email is sponsored by: Splunk Inc. Do you grep
>> through log files
>> >for problems? Stop! Download the new AJAX search engine that makes
>> >searching your log files as easy as surfing the web. DOWNLOAD
>> SPLUNK!
>> >
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
>> <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642>
>> >_______________________________________________
>> >Tacos-devel mailing list
>> > Tacos-devel@lists.sourceforge.net
>> <mailto: Tacos-devel@lists.sourceforge.net>
>> >https://lists.sourceforge.net/lists/listinfo/tacos-devel
>> >
>> >
>> >
>>
>>
>> -------------------------------------------------------
>> This SF.net email is sponsored by: Splunk Inc. Do you grep through
>> log files
>> for problems? Stop! Download the new AJAX search engine that makes
>> searching your log files as easy as surfing the web. DOWNLOAD
>> SPLUNK!
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
>> <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 >
>> _______________________________________________
>> Tacos-devel mailing list
>> Tacos-devel@lists.sourceforge.net
>> <mailto: Tacos-devel@lists.sourceforge.net>
>> https://lists.sourceforge.net/lists/listinfo/tacos-devel
>> <https://lists.sourceforge.net/lists/listinfo/tacos-devel>
>>
>>
>>
>>
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
>for problems? Stop! Download the new AJAX search engine that makes
>searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
>_______________________________________________
>Tacos-devel mailing list
>Tacos-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tacos-devel
>
>
>
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Tacos-devel mailing list
Tacos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tacos-devel