wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes Are js files cached? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Are js files cached?" Watch "Are js files cached?" New topic

Are js files cached?

manav kher
Ranch Hand

Joined: Nov 21, 2000
Posts: 98
if the javascript files cached (which i think they are) does that mean that if i have the same file included in more than one page the browser uses the cached copy instead of getting it a second time from the server??..
Ray Hunter

Joined: Aug 01, 2000
Posts: 20
Yes, if you are calling JS files from outside the page then they are being stored in the cache and they are being called from cache whenever they are on the client computer.
subject: Are js files cached?
Similar Threads
Applet getResource() from Server or Client?
Problem in refreshing of Stylesheet
Are js files cached?
Applet cache
Problem with timer and imagefecter threads