Changes between Version 4 and Version 5 of Introduction

Show
Ignore:
Timestamp:
05/10/10 11:49:50 (4 months ago)
Author:
ook
Comment:

Oups!

Legend:

Unmodified
Added
Removed
Modified
  • Introduction

    v4 v5  
    7676The routines we are most interested in are vcl_recv, which handles the incoming request from the browser, and vcl_fetch, which is where we will decide whether the object just retrieved should go into the cache. 
    7777 
    78 ===Our configuration=== 
     78=== Our configuration === 
    7979 
    8080As I mentioned earlier, Varnish has some pretty sensible defaults, but it assumes that your app is unaware of the cache. Since we are in control of our application, we can make some assumptions varnish can't by default. By default, for example, Varnish will not cache any page when the request that started it included a cookie. While this makes sense if the web app is unknown, if the web app is known, it makes much more sense to let the web app decide what is the appropriate cache response.