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

Webvitals page: prevent double js loading #2327

Merged
merged 1 commit into from
Sep 7, 2022
Merged

Conversation

stoyan
Copy link
Contributor

@stoyan stoyan commented Sep 7, 2022

As far as I can tell $site_js_loaded is not set anywhere in the codebase.

Since we're including the footer in this page, it loads the JS, no need to load it again.

Fixes #2307

@scottjehl scottjehl merged commit b2f1aae into master Sep 7, 2022
@scottjehl scottjehl deleted the site_js_loaded_vitals branch September 7, 2022 21:15
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.

webpagetest.org/webvitals loads site.js twice in Firefox
2 participants