Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Detecting cache update in Nuxt 3 with autoUpdate #824

Open
enjidev opened this issue Feb 8, 2025 · 0 comments
Open

Detecting cache update in Nuxt 3 with autoUpdate #824

enjidev opened this issue Feb 8, 2025 · 0 comments

Comments

@enjidev
Copy link

enjidev commented Feb 8, 2025

I'm using Nuxt 3 with registerType: 'autoUpdate'. Is it possible to detect if the service worker is currently updating or downloading fresh/new cache contents?

I just want to display a banner to inform the user if an auto-reload is about to happen.

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

No branches or pull requests

1 participant