mirror of
https://github.com/withastro/astro.git
synced 2025-01-27 22:19:04 -05:00
fdd5bf277e
* fix: client prerender fallback * Use Speculation Rules prefetch as prerender fallback instead of link tag, improve changeset * Update .changeset/warm-spoons-fetch.md --------- Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
419 B
419 B
astro |
---|
patch |
Adds a prefetch fallback when using the experimental.clientPrerender
option. If prerendering fails, which can happen if Chrome extensions block prerendering, it will fallback to prefetching the URL. This works by adding a prefetch
field to the speculationrules
script, but does not create an extra request.