[2.1] varnish-2.1.5-4-g4184ed1
Bjørn Ruberg
bjorn at varnish-cache.org
Tue Mar 1 19:03:13 CET 2011
commit 4184ed18a0a20433641c98ef173277d3d691bf39
Author: Bjoern Ruberg <bjorn at doffen.hjemme.ruberg.no>
Date: Tue Mar 1 18:59:46 2011 +0100
fix typos and link
diff --git a/doc/sphinx/tutorial/esi.rst b/doc/sphinx/tutorial/esi.rst
index e2002bd..13a4478 100644
--- a/doc/sphinx/tutorial/esi.rst
+++ b/doc/sphinx/tutorial/esi.rst
@@ -20,13 +20,13 @@ have three ESI statements:
* <!--esi ...-->
Content substitution based on variables and cookies is not implemented
-but is on the roadmap.
+but is on the roadmap.
Example: esi include
~~~~~~~~~~~~~~~~~~~~
Lets see an example how this could be used. This simple cgi script
-outputs the date:::
+outputs the date::
#!/bin/sh
@@ -34,7 +34,7 @@ outputs the date:::
echo ''
date "+%Y-%m-%d %H:%M"
-Now, lets have an HTML file that has an ESI include statement:::
+Now, lets have an HTML file that has an ESI include statement::
<HTML>
<BODY>
@@ -43,7 +43,7 @@ Now, lets have an HTML file that has an ESI include statement:::
</BODY>
</HTML>
-For ESI to work you need to activate ESI processing in VCL, like this:::
+For ESI to work you need to activate ESI processing in VCL, like this::
sub vcl_fetch {
if (req.url == "/test.html") {
@@ -59,7 +59,7 @@ Example: esi remove
~~~~~~~~~~~~~~~~~~~
The *remove* keyword allows you to remove output. You can use this to make
-a fall back of sorts, when ESI is not available, like this:::
+a fall back of sorts, when ESI is not available, like this::
<esi:include src="http://www.example.com/ad.html"/>
<esi:remove>
diff --git a/doc/sphinx/tutorial/vary.rst b/doc/sphinx/tutorial/vary.rst
index 4da6744..a0bfc71 100644
--- a/doc/sphinx/tutorial/vary.rst
+++ b/doc/sphinx/tutorial/vary.rst
@@ -21,9 +21,9 @@ And another one sends::
Accept-Encoding:: deflate,gzip
Varnish will keep two variants of the page requested due to the
-different Accept-Encoding headers. Normalizing the accept-encoding
+different Accept-Encoding headers. Normalizing the Accept-Encoding
header will sure that you have as few variants as possible. The
-following VCL code will normalize the Accept-Encoding headers.::
+following VCL code will normalize the Accept-Encoding headers::
if (req.http.Accept-Encoding) {
if (req.url ~ "\.(jpg|png|gif|gz|tgz|bz2|tbz|mp3|ogg)$") {
More information about the varnish-commit
mailing list