On Thursday 17 September 2009 08:48:53 Alex McAuley wrote: > Thats not how the script i wrote works sorry. > > Each page tells the script what to serve, if the page requires no JS > whatsoever then the script block isnt even executed.
If you want an example of the speedup, compare loading times of minnified: http://wikizzle.org/wikiz/?action=edit with not: http://wikizzle.org/wikiz/?action=edit&compress=no Jim > Alex Mcauley > http://www.thevacancymarket.com > ----- Original Message ----- > From: DJ Mangus > To: [email protected] > 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 > page, or the landing page requires all of them (and then it'd cache the > concat'd and minified version) and you include the lot on each other page > no matter if that page needs all or just some of the scripts. > > > On Wed, Sep 16, 2009 at 11:57 AM, Alex McAuley > <[email protected]> wrote: > > > The compressed versions i speak of do get cached.... > > > Alex Mcauley > > http://www.thevacancymarket.com > ----- Original Message ----- > > From: "skaiuoquer" <[email protected]> > To: "Prototype & script.aculo.us" > <[email protected]> > > 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 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 16, 3:43 pm, Jim Higson <[email protected]> wrote: > > 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 you are loading > > them, use yui > > compressor, gzip. You'll see at least an 80% decrease in load time. > > > > Still, I'd question the sanity of any system that takes 30 seconds to > > serve a > > web page. > > > > Jim > > -- Jim my wiki ajaxification thing: http://wikizzle.org my blog: http://jimhigson.blogspot.com/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---
