ampproject / ampproject/cloudflare-amp-optimizer
Allow for more aggressive caching than the full URL.
Open
- 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