ampproject / ampproject/amp.dev

Pixi: Implement global cache for API responses

Open
#4,758 0 comments 0 reactions 0 assignees View on GitHub
Category: Pixi P1: High Type: Feature
Dominant language
HTML
Stars
600
Forks
675
PR merge metrics
No merged PRs in 30d

Description

Currently Safe Browsing and Mobile-friendliness are cached in browser `sessionStorage`. These can be moved to a server cache as well as include PSI results.

The implication of caching the responses also includes proxying API requests to the server where they will be cached.

Additional point from @matthiasrohmer:
> this increases the priority for https://github.com/ampproject/amp.dev/issues/4747 as it would introduce load to amp.dev’s infra that we successfully pushed to the client until now. Especially as PSI requests take some time…

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.