cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grzegorz Kossakowski <gkossakow...@apache.org>
Subject Re: About Client side Javascript in Cform
Date Wed, 20 Jun 2007 11:02:20 GMT
Joerg Heinicke pisze:
> On 19.06.2007 10:12, Tobia wrote:
> 
>> In fact I've noticed that the number of client-side javascript files
>> (not their complexity or size, so much as their number) referenced to by
>> Cocoon forms has a considerable impact on page load time.
> 
> But if set up correctly with the appropriate response headers this 
> should only happen on the first access. Afterwards the files should be 
> taken from the browser's cache. Actually they can be cached quite 
> aggressively.

Yes, but it's quite annoying that this first access takes so long. It may make potential user
go away, especially when browser freezes.

> And that's the point where all the optimizations can even be 
> counterproductive. Collecting the parts you actually need for the page 
> and merging them makes them individual for that page (or a group of 
> pages) and the files need to be retrieved for every actual combination 
> of them.
> 
> If size and whitespace matter why not just gzipping them?

Yes, it's another, valid, point of view. Meanwhile, we could think about making this behaviour
(aggressive caching + gzipping) default.

-- 
Grzegorz Kossakowski
http://reflectingonthevicissitudes.wordpress.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message