Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

localhost Won't Immediately Update

I have been using XAMPP to connect to localhost to do editing on my computer for websites. I have been using it for over a year now and in the past whenever I would update the local file, I could refresh the page on my browser and it would immediately update. Now, I can't get it to update even if, for example, an image file has changed.

I'm wondering if it's an issue with cookies (which I haven't had in the past). Is there a common reason that this happens? I couldn't find anything upon a search. Thanks for the help!

like image 806
MillerMedia Avatar asked Oct 02 '12 01:10

MillerMedia


2 Answers

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:

For PC:

Ctrl + Shift + R

For Mac:

Command + Shift + R

I hope it will make life easier for some people.

like image 99
Dixel Avatar answered Nov 02 '22 10:11

Dixel


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

I solved the issue using this method.

like image 26
Mustafa Serkan Ömeroğlu Avatar answered Nov 02 '22 10:11

Mustafa Serkan Ömeroğlu