Do browsers (IE and Firefox) parse linked javascript files every time the page refreshes?
Ccna final exam - java, php, javascript, ios, cshap all in one. This is a collaboratively edited question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
Showing posts with label browser-cache. Show all posts
Showing posts with label browser-cache. Show all posts
Monday, June 11, 2012
Do browsers parse javascript on every page load?
Sunday, April 8, 2012
Prevent caching of AJAX call
It looks like that if I load dynamic content using $.get(), the result is cached in browser. Adding some random string in QueryString seem to solve this issue (I use new Date().toString()), but this feels like a hack.
Is there any other way to achieve this? Or, if unique string is the only way to achieve this, any suggestions other than new Date() ?
Source: Tips4all
Subscribe to:
Posts (Atom)