Results 1 to 3 of 3

Thread: JavaScript Cached ? purged?

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2009
    Location
    Los Angeles
    Posts
    1,335

    JavaScript Cached ? purged?

    I was recently working on a JS and when I would make changes to the JS it appeared they would no tbe implemented, although the changes were made to the script and the script uploaded to my website.

    What appears to have happened is that when I was going to my website to test the script it was actually still reading from the previous script before the changes were made.

    I tried deleting my temp files and cookies to no avail.
    My question is how do you correctly purge out the previous js file

    I spent hours thinking my code was wrong when in fact it was correct.

    Thanks

  2. #2
    Frenzied Member tr333's Avatar
    Join Date
    Nov 2004
    Location
    /dev/st0
    Posts
    1,605

    Re: JavaScript Cached ? purged?

    All browsers should have an option to clear the history, which should have an option to clear the browser cache. You might also want to check the HTTP headers to see what caching options are being sent from the web server. The browser dev tools might show this, or you can install plugins for each of the browsers that will show the headers on each request/response.
    CSS layout comes in to the 21st century with flexbox!
    Just another Perl hacker,

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2009
    Location
    Los Angeles
    Posts
    1,335

    Re: JavaScript Cached ? purged?

    Thanks, according to IE 9 you delete the Temporary Internet Files and Cookies, there is no specific browser cache. Thats what I was doing and it didnt seem to work

    I will look into the plug-ins option

    I posted a bit too quickly, while searching for developer tools I saw F12 developer tools and a clear browers cache came up

    I will try that next time

    Thanks again

Posting Permissions

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



Click Here to Expand Forum to Full Width