Empty cache and hard reload for Web developers
-
Hello,
This is my first post in this forum and since I see that the community has been growing quite a lot and Vivaldi team listens to requests, thought of requesting a feature that would allow me to uninstall Google Chrome from my machine as I'm forced to use it while doing my daily job of developing websites.
The feature is called 'Empty cache and hard reload' and can be accessed by right-clicking the refresh icon in Google Chrome while the dev tools are open. You can find the details in this link.
I've tried the regular Hard reload using Ctrl+Shift+R and that has not done the trick for me in clearing cached pages in the browser with the dev tools open/closed. I don't want to disable the cache altogether but just want to clear it thoroughly from time to time. The Clear browsing data is also sometimes not useful and is too cumbersome for such a small thing needed only for clearing the current page and its resources.
I tried a couple of extensions but they crash the browser itself.
I couldn't find a post asking for this feature, so thought of asking it myself as, after the recent introduction of profiles management, this is the only feature forcing me to keep Google Chrome installed in my work PC.
Thanks
Prabhdeep -
There is a setting in the dev tools to disable the cache while the dev tools are open (three vertical dots > settings > preferences > look under the network section). It only disables the cache for the tab that the dev tools are bound to, so it does not affect any cached data from other sites and other tabs continue to use caching.
I generally just leave the setting on. That way, I can force a full reload of a page by simply opening the dev tools and refreshing the page. And I generally don't want caching while working on a page, so it does not hurt when I need the dev tools for actual work reasons.
That said, a keyboard/UI shortcut that forces a full, cache-free reload of a page (with or without the dev tools open) would probably come in handy (assuming there isn't already such an option that we don't know about).
-
This would be an excellent feature to have, especially if it could be configured to be always on for specific domains or IPs, e.g. localhost/127.0.0.1
-
Another +1 from here.
For my use case - I'm developing a web app, and would like to show it to the "client"; however, when they load it they see a cached version rather than the full version.
Because of this, I think there's a definitely use case for having right click functionality on the 'refresh' button for all users - left click performs a standard refresh, right click gives you different refresh options, e.g. hard refresh, refresh every N minutes, etc.
-
Project manager for a web development company. This is honestly something new that I realize I need but having it will save so much time and effort. Deleting my history makes it so that I have to log back into all sites I have been working on in that past hour. Usually I have a lot of back and forth so this would simply aid with that. Logging back in isn't hard, just tedious.
That being said, I just tried it on Chrome to test a popup we have upon website opening for a client and needed to do a full history delete to get it to show up again, not just using the empty cache and hard reload.
So if there are multiple levels of options of clearing cache/history that can be accessed with a right click as algy suggested, it would certainly help me out. For now, chrome when I need to use that function.
-
This is a duplicate of https://forum.vivaldi.net/topic/38501/empty-cache-and-hard-reload-for-web-developers/ I think.
(and by the way, this is also a duplicate: https://forum.vivaldi.net/topic/33594/refresh-choices-as-in-chrome-ctrl-r-hard-reload-empty-cache-and-hard-reload - @Pesala at the time linked it to a similar but different feature request, so for people like me coming through search it would not hurt to update the link).
-
Sorry: First post from me here. This ended up in the wrong topic by mistake, I can't move it. If someone has the rights, can they move this to Desktop Feature Request? Thanks.
Hello, I would like to ask you to add a feature at this point:
You see, every Chrome-based browser is built similarly for that matter:
If I open the dev console and then hold CTRL, I can right-click the page refresh icon and get options to quickly clear the damn cache. (Image: Microsoft Chromium Edge)That's not possible in Vivaldi. Here the browser doesn't care if I hold down CTRL, I get the same menu as usual: I can only edit the toolbar there.
I know I can do it with CTRL+F5 for example, but that's just one of the three options.
The beauty of this approach is that you can clear the cache for that page very quickly, you don't have to clear the entire cache from the browser. I can imagine that there is another way, but that's the quick and painless method that lazy programmers want.
I hope that submitting later is not too difficult. Thanks in advance.
Patrick
## Sorry, but the pictures are in German because I'm German and the browser is in German.
-
@schneiderpatrick Hello and Welcome to the Vivaldi Community
I agree there should be an option to clear cache there. But should not rely on having devtools open.
In fact in Vivaldi you can already add the Hard Reload option to the reload button context menu:
You can add this in Settings > Appearance.
So what's missing is just the "Clear Cache" option. Vivaldi devs can solve this by adding such an option to the menu customization options, then we can add it ourselves if we need it.
Vivaldi is all about giving users options and figuring how to make the browser their own, not blindly copying whatever is the "standard" from other browsers
Edit: This is a duplicate so I've merged the topics. Please search before posting feature requests
-
@Pathduck Thanks. Also for moving. just tried it and it worked. Now I just have to figure out how "force page reload" was translated into German. I can't find the command, but I'll take a closer look later
edit: Found