Skip to content

Conversation

joshbetz
Copy link

@joshbetz joshbetz commented Mar 4, 2025

Since WordPress 6.3, we've been able to defer scripts. The plausible-analytic script is a good candidate for this.

https://make.wordpress.org/core/2023/07/14/registering-scripts-with-async-and-defer-attributes-in-wordpress-6-3/

Since WordPress 6.3, we've been able to defer scripts. The plausible-analytic script is a good candidate for this.

https://make.wordpress.org/core/2023/07/14/registering-scripts-with-async-and-defer-attributes-in-wordpress-6-3/
@Dan0sz Dan0sz changed the base branch from develop to defer_plausible_js March 5, 2025 09:55
@Dan0sz Dan0sz merged commit ee56ffd into plausible:defer_plausible_js Mar 13, 2025
0 of 4 checks passed
@Dan0sz
Copy link
Collaborator

Dan0sz commented Mar 13, 2025

@joshbetz Currently testing this in #246, but can you tell me what the improvement is over the defer attribute already present?

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