ampproject / amphtml

The AMP web component framework.
https://amp.dev
Apache License 2.0
14.89k stars 3.89k forks source link

Enable a quicklink like implementation without a Service Worker #34675

Open micajuine-ho opened 3 years ago

micajuine-ho commented 3 years ago

Description

Brough up from https://github.com/ampproject/amphtml/pull/32100#issuecomment-783563518

Based on https://github.com/ampproject/amphtml/issues/19905, it seems like a a basic design would be create a new amp component, that uses a quicklink-like configuration to enable prefetching of the link.

2 things to note here would be that this feature would not be valid for Cached documents (and so caching changes would be required to strip out this element), and also the feature would only allow for different domain documents.

A decision will need to be made around either a new classic or bento component.

With the work done in #32100, developers are not encouraged to use same domains links for Linker and so we have some precedence for only allowing this feature for different domains.

/cc @kristoferbaxter

Alternatives Considered

Additional Context

No response

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.