How to delete indexedDB?

后端 未结 17 2135
忘了有多久
忘了有多久 2020-12-02 05:16

I\'m working in a project which involves using IndexedDB. As I\'m begining to know this technology, I need to be able to delete an indexedDB by hand so I can start over.

17条回答
  •  时光说笑
    2020-12-02 06:14

    To remove all Chrome IndexedDB databases run the following in OSX terminal emulator.

    rm -rf ${HOME}/Library/Application\ Support/Google/Chrome/Default/IndexedDB/*
    

    Now restart your browser and that's it.


    Because I need to purge IndexedDB databases very often, I have set up an alias in my ~./bash_profile.

    alias purge-idb="rm -rf ${HOME}/Library/Application\ Support/Google/Chrome/Default/IndexedDB/*"
    

提交回复
热议问题