0

i am developing a web application using HTML5, javascript, css and my server side language is Java with Spring MVC framework. But when i try to run/debug my application somehow, when i change the css or javascript or something else in my VIEW side, my application SOMETIMES (Not everytime but mostly i encountered this problem, it give me some head ache like WHY i still got these error, i already changed them and suddenly just like remember, 'Ohh! i need to clear my web browser cache'), it kind of not refreshing with my new code, sometimes they stuck, but i already change the code, still it doesn't show what i am changing (especially Javascript and CSS).

What i do is, i did clean all my cookies, browser history, cache or anything that showed up in my mozilla and chrome browser, which is i use for developing my application.

How to run/debug my web application in a CLEAN or NEW state, so i don't have to clear history, cache or the others option to have a refreshed code?

Ke Vin
  • 2,300
  • 7
  • 35
  • 69

1 Answers1

0

Both browsers have settings to disable the browser cache whilst the dev tools are open.

Chrome settings

Firefox settings

Answer on the chrome tools here: Disabling Chrome cache for website development

Community
  • 1
  • 1
Sam Ternent
  • 272
  • 1
  • 3
  • 13