Chapter 11. Settings Reference

Preloads Tab

Hints that tell the browser what it will need first: preloaded files, LCP images, fonts and early connections to other websites.

Http/2 Preload

Preloads JavaScript modules and the files you choose. LCP images and fonts are preloaded by their own features. See the section called “HTTP/2 Preload”.

Enable

Turns on the preloads below: JavaScript modules and the files in Include Files.

Default: No
Risk: Low
Preload JavaScript modules

Preloads the JavaScript modules on the page. Helps with PageSpeed's Avoid chaining critical requests when it lists modules.

Default: Yes
Risk: Low
Include Files

Extra files to preload, such as files added by scripts. Use the full address, and only files used on every page.

Default: Empty
Risk: Low
Exclude Files

Files not to preload, for example when the browser console warns that a preloaded file wasn't used within a few seconds. Applies to the fonts Optimize Fonts preloads too.

Default: Empty
Risk: Low

Largest Contentful Paint Images Pro

Preloads your LCP images with high priority, on any page where they appear, and keeps them from being lazy loaded. With Page Experience on, a page where none of them appear gets the image its visitors' browsers reported as the LCP element. See the section called “LCP Images”.

Enable

Preloads the LCP images listed below with high priority, wherever they appear.

Default: No
Risk: Medium
LCP Images

Your LCP images, by address. An address ending in a file name selects that image only, in any format, and not another size of it; a part of an address without a file extension selects every image whose address contains it.

Default: Empty
Risk: Low
LCP Id/Class

A class or id shared by your LCP images, such as the class of every article's featured image. Use one that only LCP images have.

Default: Empty
Risk: Low
Mobile only

LCP images to preload on phones only.

Default: Empty
Risk: Low
Desktop only

LCP images to preload on desktop screens only.

Default: Empty
Risk: Low

Optimize Fonts Pro

Loads web fonts sooner and keeps them from moving the page. See the section called “Optimize Fonts”.

Enable

With Optimize CSS Delivery on, keeps the font rules the top of the page needs in the critical CSS and preloads the font files most likely to show that text. Also turns on the settings below.

Default: No
Risk: Medium
Serve Google Fonts from the site

Downloads Google Fonts stylesheets and their font files to JCH Optimize's cache folder and combines them with your CSS, so pages don't connect to Google's servers. Works while CSS files are combined.

Default: Yes
Risk: Low
Size-matched fallback fonts

Until a web font loads, shows its text in Arial or Times New Roman resized to take up the same space, so the page doesn't shift when the web font arrives. WOFF2 fonts can only be measured when PHP has the brotli extension; for those, the measurements of the Google Fonts families that come with JCH Optimize are used.

Default: Yes
Risk: Low
Font display

How text shows while its web font loads: Swap (the fallback font right away, then the web font) or Optional (the web font only if it loads almost at once; never shifts the page).

Default: Swap
Risk: Low
Override font-display in the CSS

Replaces the font-display a font rule already sets with the Font display setting. Rules that don't set it always get it.

Default: Yes
Risk: Low
Optimize these files

Font stylesheets on other sites whose licenses don't allow copying the fonts, such as Adobe Fonts, to load without blocking the page. Don't add your own site's font stylesheets or Google Fonts: they're better combined with the rest of your CSS.

Default: Empty
Risk: Low
Defer these font files

Font files to load only after the page has loaded and painted, so they don't take bandwidth from what visitors see first. Meant first for icon fonts such as Font Awesome: until they load, their icons are blank spaces rather than boxes, and they may change width slightly when they appear. A text font listed here shows its text in a size-matched fallback font until then, so it can be listed too when your fonts weigh on the Largest Contentful Paint; check that the page doesn't shift when the web font arrives. Enter part of each file's name, for example fa-solid-900. Needs Optimize Fonts on.

Default: Empty
Risk: Medium

Preconnect Third-Party Origins Pro

Early connections to other websites your pages need. See the section called “Preconnects”.

Enable

Adds preconnects for the other websites used by your critical CSS, and for the domains below.

Default: No
Risk: Low
Preconnect domains

Other websites to connect to early, including https://. Limit it to the two or three most important.

Default: Empty
Risk: Low
DNS-Prefetch domains

Other websites to look up early. A lighter hint than a preconnect, for the less important ones.

Default: Empty
Risk: Low