ampproject / ampproject/cloudflare-amp-optimizer

Allow for more aggressive caching than the full URL.

Open
#12 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
23
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Ability to leave off all searchParams from a URL. This will allow for much better cache hits.

Ideal scenario is to (also?) have a whitelist of searchParams that we keep.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the code that derives cache keys from request URLs and any tests covering searchParams. Confirm whether the default should drop all parameters and how a whitelist is configured; done means equivalent URLs share a cache key while whitelisted parameters remain distinct.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.