34

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.

Andy
  • 153
  • 1
  • 2
  • 11
Jimmery
  • 550
  • 1
  • 7
  • 15
  • 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 '17 at 13:45
  • 5
    according to this answer, CTRL+F5 is not enough to refresh cache content for IE: https://superuser.com/questions/81182/how-to-force-internet-explorer-ie-to-really-reload-the-page – Jimmery Mar 20 '17 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 '17 at 13:50
  • 3
    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 '17 at 13:52
  • [This Microsoft Support page](https://support.microsoft.com/en-us/help/10607/microsoft-edge-view-delete-browser-history) may provide some useful information. – Jeff Zeitlin Mar 20 '17 at 14:04
  • 1
    @JeffZeitlin unfortunately this page did not help. Perhaps my problem is that my files are hosted on `localhost` – Jimmery Mar 20 '17 at 14:23
  • If explicitly clearing the cache per those instructions didn't do the trick, you may have some other issue. Are you loading the pages using the file: protocol or the http: or https: protocol? – Jeff Zeitlin Mar 20 '17 at 14:26
  • using the http: protocol - please bear in mind that this issue is not present in Firefox or Chrome - only Edge is serving up old versions of these files – Jimmery Mar 20 '17 at 14:44
  • 7
    "This seems like a simple request" - No request is too simple for IE/Edge... – Yoav Kadosh Aug 02 '17 at 09:29
  • 1
    Anyone else seeing this page in IE Edge and having an awkward feeling? Even coming from bing. Shiver... – Avatar Feb 03 '18 at 08:55
  • 07/2020 still not working (Edge 89 based on Chromium)... It only works in dev tools by checking Disable cache option. – Eduardo M Jul 27 '20 at 13:59
  • Edge uses the Chromium engine with Blink and V8 engines, it is not based on IE. – Mark Kortink Oct 21 '21 at 20:04

5 Answers5

30

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

Andrii
  • 453
  • 5
  • 6
8

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

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

Joe Healy
  • 125
  • 3
1

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

enter image description here

eQ19
  • 151
  • 5
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 ;)

Ashkan
  • 9
  • 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 06 '18 at 16:49