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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
website/blog: introducing entcache post #2034
Conversation
|
||
The package provides a variety of options to configure the TTL of the cache entries, control the hash function, provide | ||
custom and multi-level cache stores, evict and skip cache entries. See the full documentation in | ||
[go.dev/entcache](https://go.dev/ariga.io/entcache). |
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.
// Tell the entcache.Driver to skip the caching layer | ||
// when running the schema migration. | ||
if client.Schema.Create(entcache.Skip(ctx)); err != nil { | ||
log.Fatal("running schema migration", err) |
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.
Since migrations run in transaction you might not need this.
|
||
There are a few features we are working on, and wish to work on, but need help from the community to design them | ||
properly (solving cache invalidation, anyone? ;)). If you are interested to contribute, reach out to me on the Ent | ||
Slack channel. |
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.
Add Slack Link.
Suggest to also add Discord.
Please feel free to review this post, and share your thoughts and feedback before I publish it. Thanks 馃檹