Home > other >  Fix browser not updating the content of css and js files
Fix browser not updating the content of css and js files

Time:02-07

I am using xampp to test my website but every time I edit .css files or .js files, no matter how many times I reload the website the css or js files will only contain the codes old, i try go to with private web browser it has updated new codes, how do i make it always update new codes

UPDATE

I found the solution from the answers below, the solution I chose was Ctrl F5

CodePudding user response:

I think Ctrl F5 should help! Enjoy! If not, then open browser settings and find empty cached files.

CodePudding user response:

What I do (on Edge/Chrome) - with devtools open (F12), I right click the refresh icon and chose "Empty cache and hard refresh"

  •  Tags:  
  • Related