Go to Optimize, then JavaScript. Find the Speed hints card. Add one item per line.
| Setting | Use it for |
|---|---|
| Connect early to these sites | Other sites that every page uses, like a font site. The speed audit shows them. |
| Look up these sites early | Sites used lower on the page, like analytics or chat. |
| Load these files first | One or two files every page needs at once, like your main font. Keep this list short. |
Open the next page before the click
The browser can get the next page before the visitor clicks. Then it shows at once. This is only for visitors who are not logged in.
- Fetch it or Build it in full. Build in full is the fastest. But your server and analytics see more page views.
- When to start: on click, on pointing at a link, or as soon as possible. Sooner is faster, but it may get pages nobody opens.
- Never open these early: add pages like
/logout/. Admin, login, cart and checkout pages are never opened early.