Automattic / jetpack

Security, performance, marketing, and design tools — Jetpack is made by WordPress experts to make WP sites safer and faster, and help you grow your traffic.
https://jetpack.com/
Other
1.59k stars 798 forks source link

Feature Request: add interface to exclude specific JavaScript files from being defered #40345

Open mohamadkarbi opened 5 days ago

mohamadkarbi commented 5 days ago

Impacted plugin

Boost

What

option to exclude in Defer non essential Javascripts

How

Jetpack Boost doesn't offer an option to exclude specific scripts. While we can use snippets mentioned in https://jetpack.com/support/jetpack-boost/exclude-javascript-files-from-jetpack-boost-deferral/ , there is still no UI options for that. Something like Concatenated JS or CSS.

Further, the method mentioned in the link above doesn't provide a way for inline script like in WordAds, you might need to remove _ATA (WordAds) from the bottom to the original place in head.

github-actions[bot] commented 5 days ago

OpenAI suggested the following labels for this issue: