[master] d6a7f31 Cache-Control: no-cache and friends is honored.

Lasse Karstensen lkarsten at varnish-software.com
Sat Mar 22 09:58:10 CET 2014


commit d6a7f3172cb882f70a17c95c550f0cb6cde48d20
Author: Lasse Karstensen <lkarsten at varnish-software.com>
Date:   Sat Mar 22 09:56:43 2014 +0100

    Cache-Control: no-cache and friends is honored.
    
    The builtin VCL supports this now. Since so many noticed this missing
    in 3.0, I think it should be mentioned.

diff --git a/doc/sphinx/whats-new/upgrading.rst b/doc/sphinx/whats-new/upgrading.rst
index 02e6f02..402b693 100644
--- a/doc/sphinx/whats-new/upgrading.rst
+++ b/doc/sphinx/whats-new/upgrading.rst
@@ -79,7 +79,8 @@ req.* used to be available in `vcl_fetch`, but after the split of functionality,
 
 vcl_* reserved
 ~~~~~~~~~~~~~~
-Any custom-made subs cannot be named 'vcl_*' anymore. This namespace is reserved for builtin subs.
+Any custom-made subs cannot be named 'vcl_*' anymore. This namespace is
+reserved for builtin subs.
 
 req.backend.healthy replaced by std.healthy(req.backend)
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -87,8 +88,19 @@ req.backend.healthy replaced by std.healthy(req.backend)
 obj is now read-only
 ~~~~~~~~~~~~~~~~~~~~
 
-`obj` is now read-only. `obj.hits`, if enabled in VCL, now counts per objecthead,
-not per object. `obj.last_use` has been retired.
+`obj` is now read-only. `obj.hits`, if enabled in VCL, now counts per
+objecthead, not per object. `obj.last_use` has been retired.
+
+
+default/builtin VCL changes
+~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+The VCL code that is appended to user-configured VCL automatically is now
+called the builtin VCL. (previously default.vcl)
+
+The builtin VCL now honors Cache-Control: no-cache (and friends) to indicate
+uncacheable content from the backend.
+
 
 Changes to parameters
 =====================



More information about the varnish-commit mailing list