We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I want to set all cache items expiration globally in my project, but not pass the expiry in the Set or Get methods
Set
Get
_inMemoryCaching.Set("SomeKey", "SomeValue");
Instead of
_inMemoryCaching.Set("SomeKey", "SomeValue", TimeSpan.FromMinutes(5));
the same for Get
Expected behavior: Get the expiry from EasyCaching configs
Actual behavior: There is no way to get the global expiration period from congfis
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
I want to set all cache items expiration globally in my project, but not pass the expiry in the
Set
orGet
methodsRelated code
Instead of
the same for
Get
Expected behavior: Get the expiry from EasyCaching configs
Actual behavior: There is no way to get the global expiration period from congfis
Specifications
The text was updated successfully, but these errors were encountered: