Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I am using ASP.NET Web API CacheOutput to cache Web API response. Web API requests made by AngularJS. But Cache-Controll for every request is :

HTTP/1.1 200 OK
Cache-Control: no-cache
Pragma: no-cache
Content-Length: 505
Content-Type: application/json; charset=utf-8
Expires: -1
Server: Microsoft-IIS/8.0
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET

I found similar post on Stack : How to cache .NET Web API requests (& use w/ AngularJS $http) and add cache:true in angular requests, but this also didn't help.

How can i fixed my problem?


If there is need in code - please write (but i try to use ASP.NET Web API CacheOutput as in post that i mentioned above)

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.