Tag Archives: Javascript

Javascript file is not updating

settingsRecently i wanted to change my JS code and updated it however in development mode the code didn’t work because of the caching. As we know, most of the browsers are caching js/css etc. files in order to reduce load times of pages so when you update your code you have to clear browsing data.
To avoid this we can disable caching in `development mode`, in Chrome as well as Opera has option to disable it.Particularly in Chorme,while in DevTools (you can open it by doing Ctrl+Shift+I), the second of option in the Settings (F1) is Disable cache (while DevTools is open).