Top Ten Blog Posts of 2023

Welcome to Varnish Software's roundup of this year’s most popular blog posts! Whether you're new to Varnish or a seasoned pro, these posts will provide valuable insights and tips. Let's dive in!

Read More

12/13/23 9:35 PM
by Ian Vaughan

Two-Minute Tech Tuesdays - The Lifetime of an Object

In this week’s episode of Two-Minute Tech Tuesday, we're explaining how the total lifetime of a cached object is calculated.

 

Read More

12/7/21 3:35 PM
by Thijs Feryn

5 Don'ts When Caching with Varnish

Over time, the most popular content we’ve created relates to hands-on Varnish use and relevant dos and don’ts. Naturally, we continue to create more content about this because our raison d’être is to help Varnish users get the maximum performance and efficiency they can from their Varnish setups.

Let’s get down to business.

Read More

10/19/20 6:57 PM
by Arianna Aondio

Hit-for-Miss AND why a NULL TTL is bad for you

Varnish is a caching server, and a great one at that, that much we already know. But what about the content you don't want to cache? For example, those shopping cart requests and other completely uncacheable API calls?

We can of course handle it, but we've got to be wary of the sirens of the cargo cult because you will often see something like this on the internet:

sub vcl_backend_response {
# check if the backend response header named
# "cache-control" contains the word "private"
if (beresp.http.cache-control ~ "private") {
# if so, don't cache by limiting the Time-To-Live
# period to 0 second
set beresp.ttl = 0s;
}
}

This is both pretty intuitive, and also very wrong. In this post, we'll explore why it's a bad idea, how to do better, and along the way, we'll try to shine some light on a couple of lesser known features of Varnish.

Read More

10/15/20 4:12 PM
by Guillaume Quintard

Varnish Software Blog

The Varnish blog is where our team writes about all things related to Varnish Cache and Varnish Software...or simply vents.

 

 
 

Posts by Topic

see all
 

SUBSCRIBE TO OUR BLOG