30

I am viewing a site on localhost in Edge.

All I want to do is fully refresh the page and all of its resources (external CSS, external JavaScript, images, fonts, everything that the page links to - I want to reload it all again from the server).

How can I do this?


This seems like a simple request, but this is what I have tried so far:

  • F5
  • CTRL + F5
  • CTRL + SHIFT + F5
  • SHIFT F5
  • Clearing the Cache (Settings > Clear browsing data > ticked everything > Show more > ticked everything in there > Clear)
  • Restarting Edge
  • Restarting computer

None of this has worked. I have a change in a CSS file and a change in a JavaScript file. Every time old versions of those files are being loaded.

I just want to do a hard refresh and reload everything in Edge - what am I missing to achieve this?


This problem doesn't happen in Chrome or Firefox (both show the latest content). I basically want a solution like this, but for Edge instead of Internet Explorer.

12
  • 1
    Edge is based on Internet Explorer this means, CTRL+F5 will peform a refresh of the cache content, if its not working then the reason the site isn't updating is unrelated to Edge.
    – Ramhound
    Mar 20, 2017 at 13:45
  • 5
    according to this answer, CTRL+F5 is not enough to refresh cache content for IE: superuser.com/questions/81182/…
    – Jimmery
    Mar 20, 2017 at 13:48
  • 1
    I disagree with the accuracy of that answer. It also doesn't matter. You have also REMOVED your cache files, which still means, the reason it's not working is for a different reason.
    – Ramhound
    Mar 20, 2017 at 13:50
  • 2
    Chrome and Firefox both show the correct content. Only Edge shows the older files. This is an issue, was an issue with Internet Exporer, and is now an issue with Edge.
    – Jimmery
    Mar 20, 2017 at 13:52
  • 7
    "This seems like a simple request" - No request is too simple for IE/Edge... Aug 2, 2017 at 9:29

5 Answers 5

29

Cache control setting

Thanks to @Jimmery I found a setting.

Tried Ctrl+R but it does not bypass cache

Update (2022):

In Chromium edge it is a checkbox

Edge Dev Tools

2
  • This doesn't seem to work for local content, unfortunately Mar 17, 2019 at 18:48
  • Sadly that button isn't in Edge any longer
    – NetMage
    Aug 24, 2022 at 22:02
7

You need to Open Developer Tools (Ctrl+Shift+I) and when you right click the refresh button you have more refresh options like Ctrl+Shift+R to Reload the current page, ignoring cached content and another one to clear cache and refresh.

https://support.microsoft.com/en-us/help/4531783/microsoft-edge-keyboard-shortcuts

1

I found for Edge only the answer from Heriberto Diaz using Developer Tools (Ctrl+Shift+I) works for me.

enter image description here

0

I think this solution can help you (in any browser): in your html header tag, append an extra value to your css or js file address! like this: <link href="yourCssFile.css?v=1"/> the "?v=1" cause that your browser redownload your css file. hope it help you ;)

1
  • 2
    Welcome to Super User Ashkan! This might work in the case for a erver controlled by OP, but how do you propose modifying the header tags of an arbitrary web page?
    – bertieb
    Mar 6, 2018 at 16:49
0

With Chromium-based Edge, it’s Ctrl+F5.

Not the answer you're looking for? Browse other questions tagged or ask your own question.