devxlogo

IE and Netscape Cache Components

IE and Netscape Cache Components

Question:
Is there any way to cache a .js file at the client, just like an image file, to reduce the number of trips to the server?

Answer:
You don’t have to do anything special to take advantage of this caching. Both Internet Explorer and Netscape will cache the .js file, just as they would cache an image or an HTML file. The same also applies to externally referenced CSS style sheets.

devx-admin

Share the Post: