ampproject / ampproject/amphtml

Enable a quicklink like implementation without a Service Worker

Open
#34,675 2 comments 0 reactions 1 assignee Claimed by @micajuine-ho View on GitHub
Type: Feature Request WG: components
Dominant language
JavaScript
Stars
14.9k
Forks
4.1k
PR merge metrics
No merged PRs in 30d

Description

### 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

- Adding it amp-analytics

### Additional Context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.