mirror of
https://github.com/withastro/astro.git
synced 2025-01-27 22:19:04 -05:00
554 B
554 B
astro |
---|
patch |
The prefetch feature is updated to better support different browsers and different cache headers setup, including:
- All prefetch strategies will now always try to use
<link rel="prefetch">
if supported, or will fall back tofetch()
. - The
prefetch()
programmatic API'swith
option is deprecated in favour of an automatic approach that will also try to use<link rel="prefetch>
if supported, or will fall back tofetch()
.
This change shouldn't affect most sites and should instead make prefetching more effective.