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).


Cavab yaz

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: