Replace client-side caching...
[ResponseCache(Duration = 14400, Location = ResponseCacheLocation.Any)]
...with serverside caching
private readonly IMemoryCache memoryCache;
- Caching on the home page should be broken when we add a new post or comment (includes status updates and deletes).
- Caching on the archive page should be broken when we add a new post.
- Caching on the category page should be broken when we add a new post.
Replace client-side caching...
[ResponseCache(Duration = 14400, Location = ResponseCacheLocation.Any)]...with serverside caching
private readonly IMemoryCache memoryCache;