Feb 4th, 2013, 03:28 PM
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.
Feb 4th, 2013, 06:28 PM
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.
Feb 4th, 2013, 10:12 PM
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
Click Here to Expand Forum to Full Width
Survey posted by VBForums.