localhost Won't Immediately Update

I've had the same problem and solved it simply by reloading the current page, ignoring cached content. There is a shortcut that I know works for Chrome and Firefox:

Ctrl + Shift + R

I hope it will make life easier for some people.


First thing to try would be clearing browser history/cache and reloading the browser.

If you enabled some kind of caching that might also explain it.

You could test by creating a new page on localhost and see if it works. If so, then check that any pages you're changing on localhost are actually being updated (check the file modified times and close/reload the source to see if the changes are actually there).


Just delete all the temporary browser related files, I used C-Cleaner. Add header <meta http-equiv="Cache-control" content="no-cache">

I solved use this method.