When I toggle the disable resource cache in the network tab, the javascript and stylesheets are still loaded from (memory)
.
I'm using webpack-dev-server (via vue-cli 3) which uses ETag headers, so Safari should send a If-None-Match
requests, but doesn't.
As a workaround i'm using production mode which generates unique urls, but i'd rather use development mode.
Is there setting or special key-combo to really refresh the page?
If you haven't already enable the Develop menu on Safari, with Safari open use the menu to go to Safari > Preferences…. One the preferences window select the Advanced tab. At the bottom there is a checkbox to enable the Develop menu. To disable caching in Safari toggle the menu item under Develop > Disable Caches.
Select the “Advanced” tab and check the “Show Develop menu in menu bar” option. Close the Preferences window. If you don't have the Menu Bar enabled, select the settings gear, then choose “Show Menu Bar“. Select “Develop“ > “Disable Caches“.
More than a year later, Safari still has the bug :-(
I did find a key-combo sequence:
This is far from ideal and makes me wanting to avoid developing and testing in Safari.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With