Skip to content

Conversation

@KajSzy
Copy link
Contributor

@KajSzy KajSzy commented Nov 19, 2025

work in progress...

FabianKoder and others added 11 commits November 12, 2025 10:05
* Add p-limit package

* Populate page-cache in parallel instead of sequentially

Previously, all routes were set one-by-one. Instead, up to `availableParallelism` pages are now concurrently read from the filesystem and populated into the cache handler.

* Introduced a promise-backed latch so cache setup runs once before potential parallel work

Added `#configureTask` alongside the existing merged handler state and wired a new `#ensureConfigured()` helper that guards the original configuration routine. The `get`, `set`, and `revalidateTag` entry points now await `#ensureConfigured()`, so they can be executed in parallel after the one-time initialization completes without racing the user-provided `onCreation` hook

* Allow customizing the parallelism factor
* chore: copy from neshca

* refactor: use workAsyncStorage

* style: format to match code style

* build: update tsup + publish config

* fix: imports
Updated the default value for the number of tags retrieved from Redis in the redis-strings.types.ts file.
* chore: add turborepo move to pnpm

* chore: migrate github workflow to use pnpm

* fix: unify pnpm version between package.json and github workflow

* fix: run commands using npm instead of pnpm
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.

5 participants