dotnet/aspnetcore

Cache invalidation

Open

#2,622 opened on 2018年1月2日

GitHub で見る
 (10 comments) (10 reactions) (0 assignees)C# (10,653 forks)batch import
Needs: Designaffected-fewarea-middlewareenhancementfeature-response-cachinghelp wantedseverity-nice-to-have

Repository metrics

Stars
 (37,933 stars)
PR merge metrics
 (平均マージ 16d 9h) (30d で 258 merged PRs)

説明

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

コントリビューターガイド