Skip to content

IndexedDB connections must be closed so bfcache works #166

@raray

Description

@raray

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/):

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions