diff --git a/.changeset/bright-feet-flash.md b/.changeset/bright-feet-flash.md new file mode 100644 index 000000000000..d88d2aecea32 --- /dev/null +++ b/.changeset/bright-feet-flash.md @@ -0,0 +1,5 @@ +--- +'astro': minor +--- + +Adds a `'load'` prefetch strategy to prefetch links on page load diff --git a/.changeset/two-hats-arrive.md b/.changeset/two-hats-arrive.md new file mode 100644 index 000000000000..6796462b0a0f --- /dev/null +++ b/.changeset/two-hats-arrive.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Ignores `3g` in slow connection detection. Only `2g` and `slow-2g` are considered slow connections. diff --git a/packages/astro/e2e/fixtures/prefetch/src/pages/index.astro b/packages/astro/e2e/fixtures/prefetch/src/pages/index.astro index 88ce196ae22f..63a30031ea8a 100644 --- a/packages/astro/e2e/fixtures/prefetch/src/pages/index.astro +++ b/packages/astro/e2e/fixtures/prefetch/src/pages/index.astro @@ -20,6 +20,8 @@ Scroll down to trigger viewport prefetch
+ load +