I wouldnt know, i done this about 6 months ago and have never heard of 
sprockets


Alex Mcauley
http://www.thevacancymarket.com
----- Original Message ----- 
From: "Jarkko Laine" <[email protected]>
To: <[email protected]>
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 src="/path/to.file.js" ... and have
>> many of
>> these files then you will be stunted by the paralell download
>> stopping.
>>
>> However.... If you do some smart js thinking (like i did!!!!!!!!)
>> you can
>> make thigs very fast indeed...
>>
>> Basically what i done was..
>>
>> Created a file that minifies my js files on the fly and outputs one
>> long
>> minified whitespace stripped string back to the browser which
>> includes all
>> of the javascript needed to run on any page ..
>
> Like http://getsprockets.com/ ?
>
> //jarkko
>
> --
> Jarkko Laine
> http://jlaine.net
> http://dotherightthing.com
> http://www.railsecommerce.com
> http://odesign.fi
>
>
> >
> 


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to