How can I manage my local IndexedDB?

Imported Question by gareth · Sep 28, 2016 at 09:55 PM

I want to find out how much storage space the IndexedDB is using, and delete it if necessary.

1 Like

Chrome

  1. Go to Settings
  2. Go to Content Settings
  3. Go to All cookies and site data
  4. Search for the URL of the app you want to manage
  5. Select the site
  6. Click on Indexed Database

Click the “x” to delete the database.

Firefox

  1. Go to Tools
  2. Go to Page Info
  3. Go to Permissions
  4. Scroll down to Maintain Offline Storage

Click “clear storage” to delete the database and other offline data.

1 Like

I think the above info may be a little outdated?

I think these days the simplest and most interesting way of managing IndexedDB is by looking in the developer tools under Application in Chrome and (sort of) Storage in Firefox.

These panes let you both look inside IndexedDB (great for debugging) as well as let you clear dbs that it has setup. In Chrome there is a convenient button to delete everything, but Firefox is unfortunately a little more complicated.

If you want to delete absolutely everything in FF I think the simplest is:

  • Go to privacy preferences (about:preferences#privacy)
  • Click Manage Data
  • Search for the domain (e.g. localhost) and then click and remove the ones you want
3 Likes