Quantcast
Channel: ASPNETWebStack Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 7215

Commented Feature: Caching story for Web API [608]

$
0
0
There’s a couple of things to think about when considering caching – it is not enough to just look at the cache control header and turn off caching. We absolutely want to enable caching in a rich way as it is critical in many scenarios. For example:

1) We want to enable conditional requests based on e-tags so that we don’t send content across the wire if there is no change.

2) If a response is cacheable then we need to indicate whether it has been content negotiated by using the Vary header field

3) We want to allow users to set the cache policy (which is reflected in the cache control header) in a way that makes sense for a particular API.

Comments: Change this to feature.

Viewing all articles
Browse latest Browse all 7215

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>