I've seen many sites based on YUI, but all are very slow-responding. Is there any good solution for this, to make those javascript files lighter and faster?
I've now already used a yuicompressor and another javascript compressor, but it is still too slow.
It seems YUI considers too many corner cases so that each file is very big. If the size can come down, I'm willing to accept some of those corner cases in fact..
one thing about YAHOO.util.Event.addListener, do you know how its implementation is? Does this function listen on global document then fire event when neccesary? I think it'll be horrible if like that. But I've not dig deep enough to find out yet.