Top "Cache-control" questions

The HTTP `Cache-Control` header specifies directives which override default HTTP caching behaviour.

Understand If-Modified-Since HTTP Header

I am looking at a Caching library that is trying to use the If-Modified-Since header of a request object. The …

php http cache-control outputcache if-modified-since
How to Set Varnish Cache-Control Headers

I am hoping someone can advise on the proper method for getting Varnish to send cache-control headers. Currently, my configuration …

http-headers cache-control varnish varnish-vcl
Most Efficient Way Of Clearing Cache Using ASP.NET

I am building an ASP.NET/Umbraco powered website which is very custom data driven via entity framework, we are …

c# asp.net entity-framework caching cache-control
Symfony 2 cache clearing issue

My Symfony 2 website has recently been giving me problems when I try to clear the cache. I type the following …

caching symfony cache-control
Clear browser cache in Angular

I have a problem with an Angular application that I update very often. I would like to avoid the browser …

angular browser browser-cache cache-control
How long is a 302 redirect saved in browser?

Due to a misconfiguration of our webserver the main domain sent a 302 redirect to a new location. We fixed that …

redirect browser browser-cache cache-control http-status-code-302
Why does Browser still sends request for cache-control public with max-age?

I have Amazon S3 objects, and for each object, I have set Cache-Control: public, max-age=3600000 That is roughly 41 days. And …

google-chrome amazon-s3 http-headers amazon-cloudfront cache-control
how does a etag work in expressjs

Expressjs automatically send etags. I would like to know how the etag is generated..is it based on the content …

express cache-control etag if-modified-since
Cache control and expires header for PHP

I'm setting my headers $offset = 60 * 15; header("Expires: " . gmdate("D, d M Y H:i:s", time() + $offset) . " GMT"); header("Cache-Control: …

php caching http-headers cache-control
Chrome browser is not sending if-modified-since header to server

I have these headers being sent to the client by the server: Cache-Control:private Connection:keep-alive Content-Encoding:gzip Content-Type:text/…

http node.js http-headers cache-control