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

Is there a way to limit reloading to only current tab? #100

Open
idrozd opened this issue May 14, 2021 · 1 comment
Open

Is there a way to limit reloading to only current tab? #100

idrozd opened this issue May 14, 2021 · 1 comment

Comments

@idrozd
Copy link

idrozd commented May 14, 2021

Most of the time I have multiple tabs open of the same app,
so when they all get reloaded, my Rails server gets bomarded with several requests

@smhg
Copy link
Contributor

smhg commented May 14, 2021

Sounds like a useful feature.
I guess you'd want the other tabs to somehow queue the reloads and only execute them once you activate the tab?

For future reference: https://developer.mozilla.org/en-US/docs/Web/API/Page_Visibility_API.

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

No branches or pull requests

2 participants