Skip to content

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

@onetocny

Description

@onetocny

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions