0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-06 22:10:10 -05:00
astro/.changeset/two-hats-arrive.md
简静凡 e44f6acf99
enhance(prefetch): Adds a 'load' prefetch strategy, and ignores 3g in slow connection detection (#9513)
* [enhance:prefetch] add global ignoreSlowConnection and add none to defaultStrategy enum

* changeset

* change defaultStrategy enum 'none' to 'all', and fix e2e test

* test:e2e prefetch

* update changeset

* rename defaultStrategy.all to defaultStrategy.load

* fix: remove global ignoreSlowConnection config and ignore 3g in slow connection detection

* fix: Revert variable name changes

* Split changeset

---------

Co-authored-by: bluwy <bjornlu.dev@gmail.com>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-01-03 13:07:58 +00:00

124 B

astro
patch

Ignores 3g in slow connection detection. Only 2g and slow-2g are considered slow connections.