Error, Restart and Log subroutines
Varnish Configuration Language ( VCL )
We’re exploring the Error, Restart, and Log subroutines, but a heads-up: Restart isn’t technically a subroutine in the usual sense. For ou…
Read articleCategory
Welcome to the Caching section of my blog, where I share insights and expertise on using Varnish and Fastly. Here, you will find articles that detail my experiences in learning, setting up, configuring Fastly products.
Varnish Configuration Language ( VCL )
We’re exploring the Error, Restart, and Log subroutines, but a heads-up: Restart isn’t technically a subroutine in the usual sense. For ou…
Read articleDeploy a custom vcl with Fastly
How to install Terraform On a Mac : brew install hashicorp/tap/terraform Verify Terraform is set up : terraform -help Create a the main terraform file…
Read articleSpin up a varnish server for testing
Create the docker container docker run --name varnish -p 3456:80 varnish This command runs a Docker container named “varnish” using the &#…
Read articleVarnish Configuration Language ( VCL )
VCL_hash From this diagram we can see vcl_hash runs after receive and there is no way to avoid it. Indeed, just after hash the hash table look up take…
Read articleVarnish Configuration Language ( VCL )
Varnish state machine flow When a request comes into Fastly, it’s assigned out from a load balancer to one of the nodes on the POP, and that wil…
Read articlehow to get started with custom VCL
Get started with custom setting and VCL with Fastly When a request goes to Faslty it goes to the POP and then gets send to one of the node. The node h…
Read articleMethods of modifications
VCL states : This article zooms into the steps of dealing with requests using Varnish, shown in a diagram. We’ll mainly look at three important…
Read articleoffload your origin with an extra layer !
Without shielding To understand shielding, let’s look at this diagram. My main server is in Roubaix, France. My aim is to lighten the load on th…
Read articlenodes, pops, hash keys and benefits
The clustering nodes In a Point of Presence (PoP), there are several nodes that work independently. Each node has its own hash table to keep track of…
Read articleconcepts & benefit
What’s request collapsing ? Concept of request collapsing in the context of a cache system refers to the scenario where multiple identical reque…
Read articlerefresh objects in the cache with Fastly
Why purging ? If you want to make sure everyone sees the latest version of something on a website, like a new headline, you might need to “purge…
Read articleHIT / PASS / MISS and behaviours
What’s caching ? In a web application, caching works like a high-speed memory that stores frequently accessed data or content. When a user reque…
Read article