-
-
Notifications
You must be signed in to change notification settings - Fork 28.2k
Closed
Description
Is your feature request related to a problem? Please describe.
Talking about rate limiter, it is better to have a customizable cache-control. E.g. I will use longer cache-control for repo card (extra pin). It is also helpful for people trying to avoid rate limiting.
Describe the solution you'd like
Add a parameter &cache_control=<maxage>. But the minimum maxage should retain 1800 to avoid abusement.
Additional context
Shields.IO has parameter ?cacheSeconds= support, and they are using 3600s as default cache-control.
ankurk91
Metadata
Metadata
Assignees
Labels
No labels