Skip to content

Cached ecosystem fetch#2126

Open
ethangreen-dev wants to merge 3 commits intoecosystem-mergefrom
ecosystem-fetch
Open

Cached ecosystem fetch#2126
ethangreen-dev wants to merge 3 commits intoecosystem-mergefrom
ecosystem-fetch

Conversation

@ethangreen-dev
Copy link
Copy Markdown
Collaborator

@ethangreen-dev ethangreen-dev commented Apr 14, 2026

Fetches the latest schema from the API on game selection with a 12 hour refresh window (can be tuned or removed if not necessary). Schema is cached locally and update requests make proper use of the 304 response to avoid pulling the schema when it hasnt been updated.

This was initially a PR from the Thunderstore fork. Deleted that, make a new PR in this repo.

Depends on #2113

Fetches the latest schema from the API on game selection. 12 hour
refresh window, can be tuned / removed based on needs. This uses the 304
response of the API to determine if the remote version has been updated
since the last request. Not a huge difference in performance locally but
it is more efficient on our end.
@ebkr ebkr changed the base branch from develop to ecosystem-merge April 14, 2026 12:49
@ethangreen-dev ethangreen-dev marked this pull request as ready for review April 14, 2026 23:04
@ethangreen-dev ethangreen-dev requested a review from ebkr April 14, 2026 23:04
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.

1 participant