Click-to-Play YouTube Embeds
Shows a lightweight thumbnail instead of the full YouTube player until the visitor clicks play, saving around a megabyte of scripts per video.
Snippet Library
Snippets that make WordPress lighter and faster: remove emoji scripts and embeds, control the Heartbeat API, limit revisions and load scripts only where they are needed. For developers and site owners chasing better Core Web Vitals.
Shows a lightweight thumbnail instead of the full YouTube player until the visitor clicks play, saving around a megabyte of scripts per video.
Adds the defer attribute to the front-end scripts you list by handle, so they no longer block page rendering.
Holds back the scripts you list (chat widgets, heatmaps, social widgets) until the visitor first scrolls, taps, clicks or presses a key, or after a timeout, so they no longer slow down the initial page load.
Removes the emoji detection script, inline styles and DNS prefetch that WordPress adds to every page. Browsers still display emoji natively.
Answers requests for missing images, CSS, JavaScript and font files with a tiny 404 instead of loading a full theme page, saving server time.
Keeps Contact Form 7 scripts and styles off every page except those that contain a form, removing two requests from most pages.
Moves the scripts you list from the page head to the footer, so they stop blocking the page from rendering.
Shows an admin bar item on the front of the site with the total size of the page's scripts, stylesheets, images and fonts, and a breakdown with the heaviest files when you click it.
Adds preload hints for the enqueued scripts and stylesheets you name, so the browser fetches files that are discovered late (such as a slider script or icon font CSS) right at the start of the page load.
Drops the jQuery Migrate compatibility script from public pages. Only use it when your theme and plugins work with current jQuery.
Removes the scripts and styles you list from every page except the ones you choose, for plugins that load their files site-wide.