Is there any extension that keeps local copies of popular JavaScript libraries such as jQuery and Mootools, and does a trick under the hood to make websites use them instead of downloading these files over and over again from different domains? I've posted this question on the mozillaZine forums but got no reply.
|
feedback
|
|
There are many versions of both of these libraries around. And just because a site references jquery.js, the file could contain anything. It could be an entirely different set of javascript. It could also contain a standard copy of the jquery library, but with custom additions. So in order for an extension to know whether it was safe to use the local copy rather than the one to be downloaded, it would have to first download it and compare it to the local copy. This would make the extension useless... | |||||||
feedback
|
