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

notifyAllClients option to BroadcastUpdates #2920

Merged
merged 1 commit into from
Aug 19, 2021
Merged

Conversation

jeffposnick
Copy link
Contributor

R: @tropicadri

Fixes #2895

This adds an option that will cause BroadcastCacheUpdate to only postMessage() to the client page that was associated with the fetch that updated the cache, instead of sending the same message to all open clients.

The default for notifyAllClients is true, matching the current behavior, so this should be backwards compatible.

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

Successfully merging this pull request may close these issues.

Broadcast update just to the client that made the request
2 participants