dotnet/aspnetcore

Cache invalidation

Open

#2,622 创建于 2018年1月2日

在 GitHub 查看
 (10 评论) (10 反应) (0 负责人)C# (10,653 fork)batch import
Needs: Designaffected-fewarea-middlewareenhancementfeature-response-cachinghelp wantedseverity-nice-to-have

仓库指标

Star
 (37,933 star)
PR 合并指标
 (平均合并 16天 9小时) (30 天内合并 258 个 PR)

描述

From @JunTaoLuo on Thursday, September 15, 2016 2:15:48 PM

Currently we only set the absolute timeouts for cache entries. There is no mechanism to explicitly invalidate a cache entry before expiry. Also, how would applications/users interact with this feature?

Note that invalidation is required by the RFC for unsafe methods, e.g. a successful PUT should invalidate any previous cached resources at the same URI.

Copied from original issue: aspnet/ResponseCaching#38

贡献者指南