Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Browser use strong cache (from disk) #256

Open
zystudios opened this issue Dec 16, 2024 · 0 comments
Open

Browser use strong cache (from disk) #256

zystudios opened this issue Dec 16, 2024 · 0 comments

Comments

@zystudios
Copy link

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?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant