Client Side Script Caching

Results 1 to 2 of 2

Thread: Client Side Script Caching

  1. #1
    Join Date
    Dec 1969

    Default Client Side Script Caching

    I have a large MyScript.js file that I include on a few pages. I want it to cache because it takes a while to load. My problem is that when I make changes to this file the browser uses the previously cached version instead of the new one. Does anyone know how to set the page to download the latest version if there is one, otherwise use the cached one?

  2. #2
    Join Date
    Dec 1969

    Default An easy hack... to change the name. Of course, then you have to change all the pages the use it. But if you used a #include ASP file to specify the name of the ".js" file, then you only have to make a change to the #include and presto.<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts