-
Notifications
You must be signed in to change notification settings - Fork 148
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
Feat: tag cache mode #717
Feat: tag cache mode #717
Conversation
🦋 Changeset detectedLatest commit: 4eef3a7 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
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 |
commit: |
}; | ||
|
||
export type NextModeTagCache = BaseTagCache & { | ||
mode: "nextMode"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I really don't like this name but i couldn't find something better. Maybe someone else will find a better idea
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Finally would some time to look at the changes, nice!
I have added a few comments.
cabd61e
to
66f4581
Compare
66f4581
to
6ee3121
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, 2 minor comments.
Thanks!
Should close #706
Everything should be explained in the issue already
One thing we could do that could improve perf in some cases would be to introduce a new optional method in
incrementalCache
:getMetadata
that would retrievelastModified
as well astags
. If provided it would allow us to check the tag cache without having to load the cache value (i.e. probably useless for S3 only incremental cache).This should probably be done in another PR