DrSensor / DrSensor/nusa

Page prediction with multiple profile/strategy

Open
#23 0 comments 0 reactions 0 assignees View on GitHub
enhancement navigation optimization priority: medium
Dominant language
JavaScript
Stars
4
Forks
0
PR merge metrics
No merged PRs in 30d

Description

> [**📚 References**](https://developer.mozilla.org/en-US/docs/Glossary/Page_prediction)
> see [instant.page](https://instant.page/tech) and [quicklink](https://github.com/GoogleChromeLabs/quicklink#how-it-works)

Attribute values: (the attribute name still not decided)
- [ ] `!smart` = prefetch page on [pointerenter][] then preload all resources (css, js) on [pointerdown][]
- [ ] `!conservative` = prefetch page (+ css-in-header) on [pointerdown][]
- [ ] `!aggresive` = prefetch page when [link](12) is [visible][] then preload all resources (css, js, image?🤔) on [pointerdown][]

[pointerenter]: https://developer.mozilla.org/en-US/docs/Web/API/Element/pointerenter_event
[pointerdown]: https://developer.mozilla.org/en-US/docs/Web/API/Element/pointerdown_event
[visible]: https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API#how_intersection_is_calculated

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.