Regarding the issue of clearing browser cache when refreshing.

Describe Your Question

Regarding the cache for the current version of Cornerstone3D:
When you refresh the browser, the cache will be cleared, which may affect the loading time when you open the page again.
Therefore, I am attempting to integrate the existing caching mechanism with IndexedDB so that the cache will not be cleared when the browser is refreshed. However, I encountered an issue where the page fails to load. The following image shows the page and console errors.

What steps can we follow to reproduce the bug?

Here is the source code for the integration I wrote. I’m not sure if there are any errors, but I was able to successfully retrieve images from the cache afterward.
Please use code blocks to show formatted errors or code snippets