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 t
I know this is an old question but hopefully, my answer helps someone in the future. The solution that worked for me was to delete the folder containing my code in htcdocs and replace it with an updated folder of code. This required me to keep an original folder of my code in a different folder which I modified with updates and made a copy of to replace the outdated code stored in htcdocs.
I met the same problem when I used xampp with chrome(mac). I tried several ways to solve it such as clearing the chrome or adding extra code in the html file. But neither works. Finally, I simply solved this problem by using safari instead chrome.
I thought this was happening with me but I had basically made a very basic but deceptive error: I had moved the .php file to a new folder on the server AFTER having openend it in Notepad to edit it. I had entered the new URL in the Web browser to account for this move in order to view the page generated from the .php file but I was still working on the file in Notepad openeed BEFORE I moved it. Consequently, I was saving changes to the file pre-move and not able to understand why on earth it wasn't changing the page in the browser. Dumb perhaps but had me perplexed.
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.
Clear Your Browser History or Cache.
Try the same with Different Browser that is if you are using Chrome then use Mozila and others or vice versa.
In order to fully update/refresh your website , you need to use this command:
Ctrl+F5
This forces the browser to fully update the changes you're made to the files. This works if you have made changes in your CSS file(saved) but a browser-refresh doesn't reflect the new changes. In this case, the regular F5 refresh won't work.
For Mac OS: Command+Shift+R