Post

The 2025 State of HTML survey is out 2025.stateofhtml.com And I love the opening stat — Lazy Loading FTW! Built-in, simple to use, attributes and elements are HTML's super power. And you can see that reflect in other attributes with the largest increase (details/summary, dialog, fetchpriority!)

6 reposts31 likes

If the checkout page is based on server-side data included in the HTML page, then no it wouldn't. If it's client-side rendered based on JavaScript API calls that now won't be made until activation when the script runs, then yes it should (but at the cost of no full prerender).

An alternative way of handling this, that is available now, is clear-site-data, which can be returned on any "update basket" API calls. An even better way is to use Broadcast Channel to update the prerender, so you still benefit from the prerender! developer.chrome.com/docs/web-pla...

developer.chrome.comGuide to implementing speculation rules for more complex sites  |  Web Platform  |  Chrome for DevelopersA guide to considerations when implementing speculation rules, particularly for more complex sites.