How best to pre-install OR pre-load OR cache JavaScript library to optimize performance?
Posted
by Kabeer
on Stack Overflow
See other posts from Stack Overflow
or by Kabeer
Published on 2010-03-15T07:08:28Z
Indexed on
2010/03/15
14:29 UTC
Read the original article
Hit count: 337
Hello. I am working for an intranet application. Therefore I have some control on the client machines. The JavaScript library I am using is somewhat big in size. I would like to pre-install OR pre-load OR cache the JavaScript library on each machine (each browser as well) so that it does not travel for each request. I know that browsers do cache a JavaScript library for subsequent requests but I would like the library to be cached once for all subsequent requests, sessions and users.
What is the best mechanism to achieve this?
© Stack Overflow or respective owner