Linked Questions

1 vote
0 answers
197 views

I know the mechanism of Cache-Control: no-cache in server response HTTP header, but I want to know in what circumstance that a browser will send a request with Cache-Control: no-cache to server? I ...
L_K's user avatar
  • 3,046
1928 votes
30 answers
1.3m views

Our investigations have shown us that not all browsers respect the HTTP cache directives in a uniform manner. For security reasons we do not want certain pages in our application to be cached, ever, ...
Edward Wilde's user avatar
  • 26.6k
242 votes
6 answers
204k views

From the RFC 2616 http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9.1 no-cache If the no-cache directive does not specify a field-name, then a cache MUST NOT use the response to ...
Luke Puplett's user avatar
  • 45.9k
101 votes
14 answers
86k views

I created a distribution in cloudfront using my files on S3. It worked fine and all my files were available. But today I updated my files on S3 and tried to access them via Cloudfront, but it still ...
Jigar Tank's user avatar
  • 1,814
174 votes
4 answers
153k views

When I visit chesseng.herokuapp.com I get a response header that looks like Cache-Control:private Connection:keep-alive Content-Encoding:gzip Content-Type:text/css Date:Tue, 16 Oct 2012 06:37:53 GMT ...
user782220's user avatar
  • 11.3k
95 votes
4 answers
58k views

I don't find get the practical difference between Cache-Control:no-store and Cache-Control:no-cache. As far as I know, no-store means that no cache device is allowed to cache that response. In the ...
vtortola's user avatar
  • 36.1k
43 votes
2 answers
51k views

The cache control header "no-cache, must-revalidate, private" allows browsers to cache the resource but forces a revalidate with conditional requests. This works as expected in FF, Safari, and Chrome. ...
alienhard's user avatar
  • 14.8k
38 votes
1 answer
49k views

I am working on an asp.net MVC web application and I need to know if there are any differences when defining the OutputCache for my action methods as follow:- [OutputCache(Duration = 0, Location = ...
John John's user avatar
  • 7,355
22 votes
3 answers
42k views

I'm using Chrome 40 (so something nice and modern). Cache-Control: max-age=0, no-cache is set on all pages - so I expect the browser to only use something from its cache if it has first checked with ...
George Hawkins's user avatar
18 votes
6 answers
12k views

I am trying to cache a (javascript) resource in the browser and have properly set all of Cache-control:max-age, Expires, and Etag in the response headers (as is seen from the screenshot). The browser ...
Vladimir's user avatar
  • 181
11 votes
2 answers
13k views

I'm running into some funny stuff with the view cache in express/Jade. The controller fetches an article from MongoDB via Mongoose and hands it to the res.render function. However, after running for a ...
Ólafur Nielsen's user avatar
10 votes
2 answers
7k views

How do I prevent the client browser from rendering its cached version for a page, so that it must always perform a GET when the visitor visits the page? I am using Django's @never_cache decorator in ...
ram1's user avatar
  • 6,490
8 votes
2 answers
2k views

I have a doubt about max-age behaviour after reading the Http Cache rfc. Scenario: User agent GET /foo Origin Server Response header cache-control: max-age=120 Server tells user agent that the ...
systempuntoout's user avatar
5 votes
2 answers
4k views

I have some image resources that are immutable and can be cached forever. Chrome seems to respect my response headers, and does not re-validate the resources: Here's an example of one of these ...
Dmitry Minkovsky's user avatar
5 votes
2 answers
4k views

I'm storing and caching images with link like this http://example.com/1.jpg http://example.com/2.jpg Users have ability to modify and overwrite 1.jpg or 2.jpg. So what I want to cache all images but ...
Basic Bridge's user avatar
  • 1,909

15 30 50 per page