Faster subsequent page loads with quicklink or similar approach #7145
Labels
cross-team
For visibility for both World Service teams (Engage & Media)
performance
Refinement Needed
This is ready for refinement. It shouldn't be worked on until it has been refined by Dev & Test.
technical-work
Technical debt, support work and building new technical tools and features
Milestone
Is your feature request related to a problem? Please describe.
quicklink uses Intersection Observer API to detect when links come into the viewport and prefetches linked resources during idle time. Bonus: quicklink weighs less than 1 KB
https://github.com/GoogleChromeLabs/quicklink
More info on prefetching here https://web.dev/link-prefetch/
This might be useful for onward journeys from front pages for a snappier page load on the next page.
Describe the solution you'd like
Something like a HOC or React hook that implements quicklink or if we needed something more custom then a Psammead component that uses a similar Intersection Observer and prefetch approach.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Testing notes
[Tester to complete]
Dev insight: Will Cypress tests be required or are unit tests sufficient? Will there be any potential regression? etc
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: