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

Consider adding defer/async to webpush headers #139

Open
marco-esubasta opened this issue May 9, 2024 · 1 comment
Open

Consider adding defer/async to webpush headers #139

marco-esubasta opened this issue May 9, 2024 · 1 comment

Comments

@marco-esubasta
Copy link

marco-esubasta commented May 9, 2024

Lighthouse doesn't like the amount of time it takes to load the scripts, it throws render blocking errors, that's why I recommend adding defer/async to the scripts, so that they are loaded asynchronously or right at the end of the load, reducing the time it takes to load the page.

Maybe make it optional, so that you can control wether you want it to load asynchronously or not.

image

Greeting from 🇦🇷 🤝 🇧🇩

@safwanrahman
Copy link
Owner

Hi @marco-esubasta, thanks for reaching out. My knowledge in javascript is limited. Can you provide me some documentation or if you can make a PR that would be really helpful.
Thanks!
Vamos Argentina 🇦🇷

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

2 participants