Skip to content
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

It is not possible to set cache timeout in milliseconds #263

Open
onetocny opened this issue Nov 26, 2020 · 1 comment
Open

It is not possible to set cache timeout in milliseconds #263

onetocny opened this issue Nov 26, 2020 · 1 comment

Comments

@onetocny
Copy link

First of all I would like to thank you for CacheOutput library which is really helpful. Currently it is possible to set caching time in seconds only. This is fine for most of cases, but it becomes a problem when you want to set timeout lower than second. My suggestion is to add another two properties (for server and client) of type TimeSpan to the CacheOutputAttribute class. I did a quick code overview and it should not be a big deal to make this working. if this is wanted I am open to implement it and share pull request with the community.

@onetocny
Copy link
Author

onetocny commented Dec 2, 2020

Created pull request with suggested functionality #264.

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

No branches or pull requests

1 participant