Skip to content

Browser use strong cache (from disk)  #256

@zystudios

Description

@zystudios
image
router.get("/", cache("5 minutes"), async function (req, res) {}

Browser will use strong cache (from disk)

This causes a problem if the data has changed in 5 minutes, but the browser keeps using strong caching and will always show the old data

What should I do?

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