Changes between Version 4 and Version 5 of Introduction
- Timestamp:
- 05/10/10 11:49:50 (4 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Introduction
v4 v5 76 76 The 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. 77 77 78 === Our configuration===78 === Our configuration === 79 79 80 80 As 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.
