Skip to content

Improve caching support#100

Merged
max-ostapenko merged 7 commits intomainfrom
development
Mar 24, 2026
Merged

Improve caching support#100
max-ostapenko merged 7 commits intomainfrom
development

Conversation

@max-ostapenko
Copy link
Copy Markdown
Contributor

@max-ostapenko max-ostapenko commented Mar 24, 2026

  1. fixed the name of Cache-Tag headers (can be used to invalidate cache)
  2. reduced CDN cache to 1 day
  3. added ETag headers to avoid sending unchanged payloads

Eventually didn't remove cache for 404, cause it's OK when all works fine, and for development cache can be busted easily with query params.

alonkochba and others added 7 commits March 23, 2026 09:43
* feat: add /v1/geo-breakdown endpoint for geographic CWV breakdown

Adds a new controller and route that returns core_web_vitals data for
all geographies for a given technology. Unlike /cwv, this endpoint omits
the geo filter so callers can build a geographic breakdown chart without
issuing one request per country.

* refactor: merge geo-breakdown into reportController factory

Add crossGeo option to createReportController; delete standalone
geoBreakdownController.js. Endpoint now returns a single-month snapshot
(latest by default, or the month specified by the end param).

---------

Co-authored-by: Max Ostapenko <1611259+max-ostapenko@users.noreply.github.com>
Copy link
Copy Markdown
Member

@tunetheweb tunetheweb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@max-ostapenko max-ostapenko merged commit b6bbfd8 into main Mar 24, 2026
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants