Instant page loads without turning your site into an app
Prerendering the next page while a visitor hovers or taps gives app-like speed with normal links that Google can read.
Many fast-looking sites load pages with JavaScript instead of normal links. It feels quick, but it breaks the back button, sharing, analytics and search engines, and it’s much harder to maintain.
A simpler way
Modern browsers support speculation rules: a small instruction that tells the browser it may prepare the next page in the background. When a visitor rests their pointer on a link, or starts a tap, the page is built before they click. When they do click, it appears at once.
- Links stay normal links, so search engines, sharing and the back button work as usual.
- Leave out the cart, checkout, account, admin and sign-out links, and anything that changes data.
- Browsers that don’t support it simply load pages the normal way.
For filters inside one page, such as switching between project types, loading just the list in place is fine. Each filter should still have its own real address.