Clearing javascript cache in ie10 does not work, you can no longer debug JavaScript changes

Now that I have upgraded to IE10, it is very difficult to get my modified javascript files for recognition.

In IE9, you can simply use the clear cache button in the develepor panel and see your changes in javascript.

This doesn't work anymore (apparently) - is there any other way to get IE10 to flush your cache? It's cruel!

On Windows 7, using VS2010 and just upgraded to IE10.

+4
source share
3 answers

I think I found out the answer ... it looks like IE10 either added (or added it by default) the "SAVE FAVORITE WEBSITES" setting ... this was checked (by default), and although I donโ€™t know, I tested it, I I think thatโ€™s why my js files were not cleaned up.

enter image description here

+11
source

It is incredibly easy to get errors due to poor caching. Development with caching enabled (and manually clearing the cache) is not possible.

If you use a server-side scripting language to create your page, you can use fingerprints.

You can add a query string to a URL that is always different, so browsers will never cache scripts. Very good for development, terrible for life: P

For example: script.js?fingerprint=123456 where 123456 is a different amount of loading of each page.

A more proactive solution would be to consider the actual changes to the source code.

+2
source

In my web application, mySQL IE-10 (with default settings) often refuses to show the status of the real mySQL database. This usually shows the status of the earlier visit (showing records that were deleted or did not show records that were added).

This is a consequence of the volatile configuration of IE-10. (Unfortunately, I only have access to the Dutch language IE-10, MS refuses to download an English-language browser). In rough translation: go to Internet Options / General. You see "View History" using the "Settings" button. Get into it, and you will see the switches that determine the search for fresh pages. The default value is "automatically", change it to "search for a new page every time you visit". This fixed my problem.

Unfortunately, however, I do not know how to install this from my application, so I have to report this to my users. It is not comfortable.

0
source

Source: https://habr.com/ru/post/1493442/


All Articles