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

Optimize Poki sdk loading #12

Open
ekharkunov opened this issue Mar 26, 2024 · 0 comments
Open

Optimize Poki sdk loading #12

ekharkunov opened this issue Mar 26, 2024 · 0 comments

Comments

@ekharkunov
Copy link
Contributor

ekharkunov commented Mar 26, 2024

There are two ways how to speed up loading web game:

  1. Use tag to specify Poki domain. It helps to reduce time to connect to domain when game start loading Poki stuff.
  2. Use defer attribute for loading Poki sdk. It prevents loading all other stuff (like dmloader.js, etc.) from waiting for loading Poki sdk.

For more information:

Thanks @AGulev for ideas!

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