[Proto-Scripty] Re: YSlow's rule JavaScript at the bottom w/Prototype

2009-09-17 Thread Alex McAuley
@googlegroups.com Sent: Wednesday, September 16, 2009 9:11 PM Subject: [Proto-Scripty] Re: YSlow's rule JavaScript at the bottom w/Prototype They do but you'd need to cache each combination of scripts once each. That's a great way to go about it if you require the same scripts on each

[Proto-Scripty] Re: YSlow's rule JavaScript at the bottom w/Prototype

2009-09-17 Thread Szymon Wilkołazki
skaiuoquer pisze: disccomp, Richard, Alex; thanks for your replies. The problem with minified compressed versions is that they will never get cached on the client side. I mean, they will, but you will still be sending them each one of the different combinations--so instead of loading

[Proto-Scripty] Re: YSlow's rule JavaScript at the bottom w/Prototype

2009-09-17 Thread Jim Higson
, 2009 9:11 PM Subject: [Proto-Scripty] Re: YSlow's rule JavaScript at the bottom w/Prototype They do but you'd need to cache each combination of scripts once each. That's a great way to go about it if you require the same scripts on each page, or the landing page requires all of them

[Proto-Scripty] Re: YSlow's rule JavaScript at the bottom w/Prototype

2009-09-17 Thread Richard Quadling
-scriptaculous@googlegroups.com Sent: Wednesday, September 16, 2009 6:24 PM Subject: [Proto-Scripty] Re: YSlow's rule JavaScript at the bottom w/Prototype On 16.9.2009, at 20.20, Alex McAuley wrote: Well The page downloads in linear (line by line) so it depends... If you reference your JS via

[Proto-Scripty] Re: YSlow's rule JavaScript at the bottom w/Prototype

2009-09-16 Thread david
Hi Javier, Alex answer is good, an I will follow his way. But it depend on a few things: - internet / intranet: meaning if response time to load JS files could be long, you should have as your collegue says an amount of time where your application, is not running, but all HTML will be load. A

[Proto-Scripty] Re: YSlow's rule JavaScript at the bottom w/Prototype

2009-09-16 Thread Marko
Hi all, Here is description from YSlow: /JavaScript scripts block parallel downloads; that is, when a script is downloading, the browser will not start any other downloads. To help the page load faster, move scripts to the bottom of the page if they are deferrable. /Isn't that the point why

[Proto-Scripty] Re: YSlow's rule JavaScript at the bottom w/Prototype

2009-09-16 Thread Richard Quadling
2009/9/16 Marko gm.ma...@gmail.com: Hi all, Here is description from YSlow: /JavaScript scripts block parallel downloads; that is, when a script is downloading, the browser will not start any other downloads. To help the page load faster, move scripts to the bottom of the page if they are

[Proto-Scripty] Re: YSlow's rule JavaScript at the bottom w/Prototype

2009-09-16 Thread skaiuoquer
Thanks Alex, David; Marko brought up a point that I forgot mentioning-- out application is not particularly stream-lined, and it's a very heavy, very enterprise-level application. A non-cached medium page on it takes above half a minute to load on T1... That's half a minute where the user is

[Proto-Scripty] Re: YSlow's rule JavaScript at the bottom w/Prototype

2009-09-16 Thread disccomp
..move scripts to the bottom of the page if they are deferrable. I think you should read more into the last word of this quote. If your application is dependent on the javascript for basic functionality then those scripts are not deferrable. If the scripts just added eye candy or some other

[Proto-Scripty] Re: YSlow's rule JavaScript at the bottom w/Prototype

2009-09-16 Thread skaiuoquer
PM Subject: [Proto-Scripty] Re: YSlow's rule JavaScript at the bottom w/Prototype On 16.9.2009, at 20.20, Alex McAuley wrote: Well The page downloads in linear (line by line) so it depends... If you reference your JS via src=/path/to.file.js ... and have many of these files

[Proto-Scripty] Re: YSlow's rule JavaScript at the bottom w/Prototype

2009-09-16 Thread skaiuoquer
Hey, you and me both, brother. We are building the new framework, starting from scratch, so maybe you are right and I am just troubled by the ghosts of the past and this will not happen this time around when we'll be using sane logic to build our code. I hope you are right. *suspense* On Sep

[Proto-Scripty] Re: YSlow's rule JavaScript at the bottom w/Prototype

2009-09-16 Thread Jim Higson
On Wednesday 16 September 2009 14:43:32 skaiuoquer wrote: A non-cached medium page on it takes above half a minute to load on T1... That's half a minute where the user is pretty much waiting for the JS files to download one after the other. Concatenate all files into one in the order that

[Proto-Scripty] Re: YSlow's rule JavaScript at the bottom w/Prototype

2009-09-16 Thread DJ Mangus
skaiuoq...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Wednesday, September 16, 2009 7:51 PM Subject: [Proto-Scripty] Re: YSlow's rule JavaScript at the bottom w/Prototype Hey, you and me both, brother. We are building the new framework, starting