The browser's back/forward cache doesn't work when IndexedDB has an open connection. Currently, a connection is opened here and then never closed:
|
const request = indexedDB.open(dbName); |
This causes Lighthouse to fail a check (https://developer.chrome.com/docs/lighthouse/performance/bf-cache/):
