Post shared on HN
Uses speculation rules like this:
<script type="speculationrules">
{
"prerender": [{ "where": { "href_matches": "/*" }, "eagerness": "moderate" }],
"prefetch": [{ "where": { "href_matches": "/*" }, "eagerness": "moderate" }]
}
</script>
To begin preloading and pre-rendering the next HTML page on hover for browsers that support it (currently Chrome only).
This would be a nice progressive enhancement to add for browsers that support it that will not make the experience any worse (or cause any errors) for other visitors whose browsers do not support it.
Post shared on HN
Uses speculation rules like this:
To begin preloading and pre-rendering the next HTML page on hover for browsers that support it (currently Chrome only).
This would be a nice progressive enhancement to add for browsers that support it that will not make the experience any worse (or cause any errors) for other visitors whose browsers do not support it.