3 ms·
Isn't it just wasted effort though? If you're using hosted jQuery from Google or similar, it is likely it is already in the client cache... You may in fact find
by tomgallard 15y ago
Isn't it just wasted effort though? If you're using hosted jQuery from Google or similar, it is likely it is already in the client cache... You may in fact find its faster to use jQuery than just Sizzle (which I imagine fewer have cached)
- pavel_lishin 15y agoAlternatively, this is something that the Application Cache would be ideal for. One-time download, cached forever. (Well, until they clear their cache.)
- MatthewPhillips 15y agoSpeed is not just about page load. JQuery carries the weight of 1) Old browser support and 2) 6 years of backwards-compatibility requirement. Heavy JQuery use is the easiest way to guarantee your app will be sluggish to use.