ampproject / ampproject/amppackager

Hoist preconnects to inner response header

Open
#204 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
141
Forks
46
PR merge metrics
No merged PRs in 30d

Description

URLRewrite.go adds headers, which are useless inside the SXG. Hoist these up to the inner Link: response header (like how preloads are done).

Contributor guide

Open the contributing guide

Research direction

Start in URLRewrite.go and compare the existing preload handling. Verify that dns-prefetch and preconnect links are moved to the inner Link response header rather than remaining inside the SXG; done means the resulting headers match that behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.