Problems and Solutions
1. The site looks wrong | |
My site has lost all or most of its styling. | |
The browser can't load the optimized CSS file. Find out why:
| |
Part of the page looks different: wrong spacing, fonts, colors or layout. | |
Usually one CSS file doesn't like being optimized, or an error in it affects the rules after it. Find and exclude it as described in the section called “Finding the CSS File”. If Optimize CSS Delivery or Reduce Unused CSS is on, switch it off first to see whether it is the cause. | |
The top of the page briefly appears unstyled, or jumps into place, as it loads. | |
The critical CSS used by Optimize CSS Delivery or Reduce Unused CSS is missing something. Check the fold for that page and run the dynamic selectors helper on it. See the section called “Optimize CSS Delivery”. | |
Content jumps down while the page loads. | |
Something above it doesn't have its space reserved. See the section called “Add Image Attributes” and the section called “Custom CSS: Stop the Page Jumping”. | |
Images are missing, appear late, or are the wrong size. | |
| |
Icons show as squares, or the fonts have changed. | |
The font files can't be loaded. If you use a CDN, it must allow fonts to be used by your site (CORS); see the caution in the section called “Use a Content Delivery Network (CDN)”. Otherwise, the CSS file that defines the fonts may use relative addresses that break when optimized; exclude it. | |
Google Fonts still load from Google with Optimize Fonts on. | |
Google Fonts are only served from your site while Serve Google Fonts from the site and Optimize CSS Files are on. If both are, your server couldn't download them, for example because it can't connect to other websites; JCH Optimize tries again an hour later, and its log on the Logs page says why. Fonts that a script adds after the page loads can't be served from your site. | |
Text sometimes shows in Arial or Times New Roman instead of my font. | |
With Font display set to Optional, a page keeps the fallback font when the web font doesn't load almost at once, usually on a slow first visit. The next page shows the web font. If that happens too often for you, choose Swap. See the section called “Choose how text shows while fonts load”. | |
2. Something doesn't work | |
A menu, slider, form, pop-up or other interactive feature has stopped working. | |
| |
The problem only happens when I'm logged out. | |
That is expected: by default JCH Optimize doesn't optimize pages for logged-in users (see Disable logged-in users). It means JCH Optimize is involved. Always test in a private window. | |
My editor or page builder misbehaves. | |
Make sure Disable logged-in users is on, so JCH Optimize leaves your editing screens alone. If the page builder's preview runs on a special address, exclude it in Exclude urls. | |
The cart, login status or other personal content shows the wrong information. | |
A cached page is being shown to someone it wasn't meant for. Exclude those pages from the page cache (see the section called “Step 7: Page Caching”), and make sure Exclude form users is on. If you use Serve Cached Pages as Static Files, try switching it off. | |
3. Nothing seems to change | |
I don't see any difference after enabling JCH Optimize. Is it working? | |
| |
Pages aren't served from the page cache. | |
Set Log level to Debug, load the page as a visitor, and look at JCH Optimize's Logs page (the Logs tab). Each page that isn't served from or stored in the page cache gets an entry that says why: for example, the visitor submitted a form, the page is excluded, or messages are waiting to be shown to the visitor. Set the level back afterwards. Another extensionplugin can
switch off the page cache too, for example a shop while a visitor has a cart. The entry then
says another extension switched it off, and the entry before it lists the
extensions listening to the | |
Changes I made to my CSS, JavaScript or content don't appear. | |
A cache still has the old version. Click , or switch to Development mode while you work and back to Production when you finish, which also renames the optimized files so browsers fetch the new ones. Clear your CDN or host's cache too. | |
My PageSpeed score didn't improve, or got worse. | |
| |
4. Pro services Pro | |
My AI-assisted optimization run stopped or was refused. | |
Look up the outcome in the section called “Run Outcomes”, or the message in the section called “Licensing Messages”. If the run seems stuck, check that the dashboard tab is still open; reopen the dashboard and click to resume it. | |
The Page Experience page shows no data. | |
| |
Image optimization fails, times out or stops. | |
| |
On This Page