[master] 3fba51b advice the user to rely on the default caching rules

Per Andreas Buer perbu at varnish-cache.org
Wed Mar 23 18:39:42 CET 2011


commit 3fba51b01b44059250f35f6d6349a43682bd14a5
Author: Per Buer <perbu at varnish-software.com>
Date:   Wed Mar 23 18:37:43 2011 +0100

    advice the user to rely on the default caching rules

diff --git a/doc/sphinx/tutorial/increasing_your_hitrate.rst b/doc/sphinx/tutorial/increasing_your_hitrate.rst
index 3ecd6de..437461a 100644
--- a/doc/sphinx/tutorial/increasing_your_hitrate.rst
+++ b/doc/sphinx/tutorial/increasing_your_hitrate.rst
@@ -168,6 +168,18 @@ beresp.ttl to whatever you want::
       }
   }
 
+The example will set the TTL to 5 days for the old legacy stuff on
+your site.
+
+Forcing caching for certain requests and certain responses
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+Since you still have this cumbersome backend that isn't very friendly
+to work with you might want to override more stuff in Varnish. We
+recommend that you rely as much as you can on the default caching
+rules. It is perfectly easy to force Varnish to lookup an object in
+the cache but it isn't really recommended.
+
 
 Normalizing your namespace
 ~~~~~~~~~~~~~~~~~~~~~~~~~~



More information about the varnish-commit mailing list