Delete specific blob data or clear out all stored blob data entirely with JS
0
1
In my app there is the ability to generate PDFs. The library I am using doesn't dispose of them after they are created and download. Eventually, after generating enough PDFs, the stored blob data becomes so large that it crashes the browser. One solution would be to refresh the browser after print. That would really screw up the user experience though because they would lose their current print parameters. The solution to that would be to store the print parameters in sessionStorage or something so that they are restored when a refresh is done. At any rate, the easiest solution to implement would be just to clear out the specific blob data, or clear all blob data, once the print is done. This is what I am seeing chrome://blob-internals. The first item is what I want to delete; the two items below t...