IIS Output Caching and Accept Header

After a bit of testing I found out today that IIS Output Caching will not work unless the Accept request header includes */*;  Most browsers include this by default but if you make HTTP calls yourself (for example, using CFNetwork from iOS), you’ll need to include it.  For example:

 Accept: application/json,*/*;

Leave a Reply

Your email address will not be published.