Skip to content

Output cache doesn't refresh even after Duration time #20

@hieuuk

Description

@hieuuk

Firstly, thanks for the extension, this help me a lot moving from the old .NET Mvc over to the new .net core mvc.

I'm using OutputCache for my site (.net core mvc 3.1, running on Ubuntu server) with very standard setting.

I set Duration to 3600 (1 hour time), but when I check the HTML, the cache doesn't get reload at all, unless I run a manual service restart on the server.
I just use decoration:
[OutputCache(Duration = 3600)]

Do you know anything might causing this? Also, is there a way to clear out all Cache programmatically, please?

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