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

Checking internet connection & preload requirement #12

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

yazharasu
Copy link

Modules which doesn't require preloading can be provided with data: {preload: false} in the route. Those modules will be avoided now.

Internet connection checked before preloading. If the connection is on a 2G network or if the data saver is enabled, preloading will not be done.

Modules which doesn't require preloading can be provided with data: {preload: false} in the route. 
Internet connection checked before preloading. If the connection is on a 2G network or if the data saver is enabled, preloading will not be done.
src/index.ts Show resolved Hide resolved
@yazharasu yazharasu requested a review from PatrickJS October 2, 2022 08:06
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.

2 participants