HTML
Dotjuice → Page speed → HTML
What this tab controls
HTML minification, removal of unnecessary version query strings and default WordPress scripts, Google Fonts display behaviour, and DNS prefetch hints.
Settings
| Setting | Default | What it does |
|---|---|---|
| Minify HTML Output | On | Strips HTML comments and collapses extra whitespace in your page's final output. Code inside <script>, <style>, <pre>, and <textarea> tags is left untouched, and browser-specific IE conditional comments are preserved. |
| Remove Version Query Strings from Assets | On | Strips the ?ver=6.7-style query string WordPress appends to your own local stylesheets and scripts. This doesn't reduce file size or request count on its own — its purpose is compatibility with hosting, proxy, or CDN configurations that don't cache URLs containing a query string. External assets are left untouched. |
| Disable WordPress Emoji Scripts | On | Removes the script WordPress loads on every page to support emoji rendering on older browsers that don't have native emoji support. All modern browsers render emoji natively, so this is safe to leave on for virtually every site. |
| Disable oEmbed (WordPress embeds) | Off | Removes the discovery markup and script WordPress uses to let other sites embed your content automatically, and to embed content (tweets, YouTube videos, etc.) that you've pasted as a bare URL into your own posts. Embeds you've already added to existing content keep working — this only stops the discovery/JS layer, not embeds already saved into your posts. |
| Add font-display: swap to Google Fonts | On | Adds display=swap to your Google Fonts stylesheet URL, so browsers show your text immediately in a system fallback font and swap to the web font once it's downloaded — rather than hiding the text entirely until the font arrives. Only applies to fonts loaded the standard WordPress way; a font hardcoded directly into your theme's template files isn't affected. |
| DNS Prefetch Domains | Empty | One domain per line (e.g. //fonts.gstatic.com). Tells the browser to resolve these domains' DNS in advance, shaving a small amount of latency off the first request to each one. Useful for third-party services your site depends on that aren't already covered automatically — see Preload for the domains handled automatically. |
When to enable "Disable oEmbed"
If you don't use WordPress's automatic embed feature (pasting a bare YouTube or Twitter/X URL on its own line to have it turn into an embedded player automatically) and you don't need other sites to be able to embed your posts, this is safe to enable and removes a small amount of unnecessary markup and script loading from every page.
Note on Google Fonts
The font-display: swap setting only touches fonts loaded the way WordPress expects — through the standard style-loading system. If your theme or page builder hardcodes a <link> tag to Google Fonts directly in a template file, or loads fonts via a CSS @import, this setting won't reach it. Most themes and Elementor's own font loading work correctly with this setting.