One easy way to do this is through a piece of middleware that the vudo
guys wrote: repoze.squeeze. It scans for resources at a particular url,
and tries to aggregate the patterns of resources into one. It uses the
assumption that for a given url, you usually bundle the same resources
together. AFAIK, it uses some kind of heurisitic based approach, so it
readjusts itself if the pattern of resources changes, and tries to
squeeze as much as possible together.

You can probably do better by statically aggregating them yourselves for
production deploys, but just sticking in repoze.squeeze into the
pipeline should be much easier ;) gzipping the aggregate should help
things too.

http://svn.repoze.org/repoze.squeeze/trunk/README.txt

Robert

On Tue, Feb 24, 2009 at 08:08:18PM -0500, Luke Tucker wrote:
>
> Hey David,
>
> Sorry to hear your experience was so drastically negative! but thanks  
> for the honest feedback :)  We'll do our best to fix things up in the  
> javascript department as soon as we can.  It's a relatively small open  
> source project, so we're going with release early and often even if  
> it's... significantly less than perfect :)  I hope when we get it in  
> better shape you'll give us another shot.  If you have any interest in  
> lending us a hand in tuning things up, check out the project website at 
> http://melkjug.openplans.org
>
> Thanks again,
>
> - Luke
>
> On Feb 24, 2009, at 7:29 PM, [email protected] wrote:
>
>> == Melkjug Feedback from Anonymous[David W] ([email protected]) ==
>>
>> I was really excited by the concept of tunables, up until I noticed  
>> the entry page takes over a second to load on my December 2007 MacBook 
>> in Europe.
>>
>> On investigating I see 20, yes 20 Javascript source files. No way am I 
>> using this. :)
>>
>> Forgetting the effects all those files have on latency (not to mention 
>> they're at the start of the HTML rather than the bottom -- where they 
>> don't prevent the rest of the page from rendering), I'm sure the app is 
>> nice and all that, but I use wireless waay too much. Guaranteed 1 time 
>> in 4 I try to login one of those files will stall.
>>
>> Its 100 times worse when using 3G Internet.
>>
>> Perhaps I'm sad for rating apps like this, but I've come to understand 
>> it's the difference between a good day, and wanting to throw my 
>> computer out the nearest window.
>>
>> All the best!
>>
>>
>> David.
>
>
>
> --
> Archive: 
> http://www.openplans.org/projects/melkjug/lists/melkjug-development-list/archive/2009/02/1235524105429
> To unsubscribe send an email with subject "unsubscribe" to 
> [email protected].  Please contact 
> [email protected] for questions.
>


--
Archive: 
http://www.openplans.org/projects/melkjug/lists/melkjug-development-list/archive/2009/02/1235538609155
To unsubscribe send an email with subject "unsubscribe" to 
[email protected].  Please contact 
[email protected] for questions.

Reply via email to