Commit 46f4d0db authored by Per Buer's avatar Per Buer

rework hiarchy

parent 47dc9d9e
.. _users-guide-compression: .. _users-guide-compression:
Compression Compression
~~~~~~~~~~~ -----------
New in Varnish 3.0 was native support for compression, using gzip New in Varnish 3.0 was native support for compression, using gzip
encoding. *Before* 3.0, Varnish would never compress objects. encoding. *Before* 3.0, Varnish would never compress objects.
......
...@@ -15,7 +15,7 @@ banning and forced cache misses. First, let me explain the HTTP purges. ...@@ -15,7 +15,7 @@ banning and forced cache misses. First, let me explain the HTTP purges.
HTTP Purges HTTP Purges
----------- ~~~~~~~~~~~
A *purge* is what happens when you pick out an object from the cache A *purge* is what happens when you pick out an object from the cache
and discard it along with its variants. Usually a purge is invoked and discard it along with its variants. Usually a purge is invoked
...@@ -75,7 +75,7 @@ And Varnish would then discard the front page. This will remove all ...@@ -75,7 +75,7 @@ And Varnish would then discard the front page. This will remove all
variants as defined by Vary. variants as defined by Vary.
Bans Bans
---- ~~~~
There is another way to invalidate content: Bans. You can think of There is another way to invalidate content: Bans. You can think of
bans as a sort of a filter on objects already in the cache. You *ban* bans as a sort of a filter on objects already in the cache. You *ban*
...@@ -164,7 +164,7 @@ be marked as Gone if it is a duplicate ban, but is still kept in the list ...@@ -164,7 +164,7 @@ be marked as Gone if it is a duplicate ban, but is still kept in the list
for optimization purposes. for optimization purposes.
Forcing a cache miss Forcing a cache miss
-------------------- ~~~~~~~~~~~~~~~~~~~~
The final way to invalidate an object is a method that allows you to The final way to invalidate an object is a method that allows you to
refresh an object by forcing a hash miss for a single request. If you set refresh an object by forcing a hash miss for a single request. If you set
...@@ -173,3 +173,4 @@ cache, thus forcing a fetch from the backend. This can in turn add the ...@@ -173,3 +173,4 @@ cache, thus forcing a fetch from the backend. This can in turn add the
freshly fetched object to the cache, thus overriding the current one. The freshly fetched object to the cache, thus overriding the current one. The
old object will stay in the cache until ttl expires or it is evicted by old object will stay in the cache until ttl expires or it is evicted by
some other means. some other means.
.. _users-guide-vary: .. _users-guide-vary:
Vary HTTP Vary
~~~~ ---------
The Vary header is sent by the web server to indicate what makes a The Vary header is sent by the web server to indicate what makes a
HTTP object Vary. This makes a lot of sense with headers like HTTP object Vary. This makes a lot of sense with headers like
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment