Disabling JS Cache in Web Inspector

Hello Everyone!


I bumped into the following problem.


The current implementation of disabling cache (via the network tab) does disable cache for almost everything, except for JavaScript files.


As you know, most front-end frameworks use virtual DOMs (Vue.JS, React), and they basically store all info in JavaScript objects.


It's a giant pain in the bottom that I have to manually empty the cache every time I modify the code to see the served results. This is the number one reason why I would need to turn off the cache, yet it affects everything except the only file where it actually matters.

Replies

Any word on this? I'm running into the same problem and can't figure out a way around it. SUPER annoying.