Yes, it is posible in some browsers using the new Web API for Cache. https://developer.mozilla.org/en-US/docs/Web/API/Cache/delete
Feb 12, 2021
3
Level 4
Is there a way to link a button to the browser cache emptying function?
Hi all,
I wonder if there is a way to programmatically show a button on your site to a user saying:
"Hey, the site has been updated! Clear your cache to get the latest update!".
And have the user clicking the button which empties the cache in his browser, including any types of browsers form any OSes: IOS, Androids, Windows OS.
Is there a clever library for this please? Or perhaps it can be done easily? Or ....it is not possible at al.
Thanks!
Level 34
1 like
Please or to participate in this conversation.