Skip to content

feat: auto-populating d1 cache data #436

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Mar 20, 2025
Merged

feat: auto-populating d1 cache data #436

merged 5 commits into from
Mar 20, 2025

Conversation

james-elicx
Copy link
Collaborator

@james-elicx james-elicx commented Mar 3, 2025

  • Adds a CLI flag to enable auto-population of cache data for either local or remote.
  • Adds a CLI flag to only populate cache (i.e. skip build completely).
  • Populates D1 tag cache data when the adapter is used.

Docs PR and KV change to use auto-population will follow if we agree on this being the way forward


This is part 1 of 3 in a stack made with GitButler:

Copy link

changeset-bot bot commented Mar 3, 2025

🦋 Changeset detected

Latest commit: 76e2c5d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@opennextjs/cloudflare Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

pkg-pr-new bot commented Mar 3, 2025

Open in Stackblitz

pnpm add https://pkg.pr.new/@opennextjs/cloudflare@436

commit: 76e2c5d

@james-elicx james-elicx force-pushed the james/populate-cache branch from a8cdce1 to 541407f Compare March 3, 2025 22:33
@james-elicx james-elicx marked this pull request as ready for review March 3, 2025 22:42
@james-elicx james-elicx requested review from vicb and removed request for vicb March 10, 2025 22:34
@james-elicx james-elicx mentioned this pull request Mar 12, 2025
2 tasks
@james-elicx james-elicx force-pushed the james/populate-cache branch from ced3fcf to de7e0bb Compare March 12, 2025 23:38
james-elicx and others added 5 commits March 13, 2025 21:12

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Co-authored-by: conico974 <nicodorseuil@yahoo.fr>
Copy link
Collaborator

@conico974 conico974 left a comment

Choose a reason for hiding this comment

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

LGTM

@james-elicx james-elicx merged commit 86c0139 into main Mar 20, 2025
7 checks passed
@james-elicx james-elicx deleted the james/populate-cache branch March 20, 2025 21:56
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.

None yet

4 participants