til

How to clear browsing data on a website

httpbrowser

The Clear-Site-Data header allows to clear the browser data of a website. You can specify which data you want to clear:

  • cookies
  • storage: localStorage, sessionStorage, IndexedDB, Service worker registrations, FS API Data, and Plugin Data
  • executionContexts
  • cache: locally cached data like script caches, pre-rendered pages, shaders, address bar suggestions...
  • everithing: using the wildcard *.

See MDN Clear-Site-Data docs for more info.

I learnt this from @stefanjudis