-
Video 36 min
-
Quiz 6 min
-
Reviewing Key Concepts 1 min
-
Course Feedback
VCL 107: Recv, Fetch, and Deliver Fundamentals
Deep dive on the Recv, Fetch, & Deliver Subroutines
Course Details
Varnish uses a domain-specific language called Varnish Configuration Language, or VCL for short. The VCL files are divided into subroutines, and the different subroutines are executed at different times. The following video will take you through the subroutines Receive, Fetch, and Deliver.
Learning Objectives
- Varnish is a State Machine with Subroutines
- Recv
- Select Backend & thus the Shield
- Modify Host, URL, & Headers
- Cache by default - return(lookup)
- return(pass)
- Fetch
- Cache? & TTL defaults
- When is the TTL set?
- Pass?
- Modify Headers
- Then Cache the object
- Cache? & TTL defaults
- Deliver
- Last minute changes