-
Feb 4th, 2013, 03:28 PM
#1
Thread Starter
Frenzied Member
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
-
Feb 4th, 2013, 06:28 PM
#2
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.
-
Feb 4th, 2013, 10:12 PM
#3
Thread Starter
Frenzied Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|