[x] Updated the served widgets headers to avoid GitHub caching outdated SVGs. Adding a updated url so that GitHub can render and update the widget based on the updated headers.
Proposed changes (including videos or screenshots)
The current caching mechanism by our CDN which was serving the contributor metrics widget did not provide a Cache-Control : max-age header value to GitHub. This lead to GitHub caching the widget svg forever, leading to old data.
We have updated the headers and set max-age to two hours.
Issue(s)
Acceptance Criteria fulfillment
Proposed changes (including videos or screenshots)
Further comments