Tag Archives: varnish

HTTP Live Streaming (HLS) tools

Delivering video over HTTP is up and coming. The two protocols that seem to be winning (currently) are HLS and HDS. These are my notes from playing around with HLS. If you want to play HLS on Linux, this python … Continue reading

Posted in Uncategorized | Tagged , , | 2 Comments

Varnish Cache development news

Short update on activities in Varnish cache development: Work is being done on getting access to the request BODY inside Varnish. This feature has been requested for a while, particularly by the security.vcl guys. See daf0e2c. The 2013Q1 Varnish Developer Day will … Continue reading

Posted in Uncategorized | Tagged , | 2 Comments

Varnish trick: Serve stale content while refetching

Here is a small trick we recently implemented for a customer: The main premise was: No clients should have to wait while the backend works. If a request is a miss, give the client a slightly stale/old page instead, and fetch … Continue reading

Posted in stuff | Tagged , , | 9 Comments

New Varnish VMOD: Softer purges / invalidations

With the new softpurge vmod you can do cache invalidation in Varnish that only affects objects if your backend is up. This means that you can purge all you want, and in the normal case everything works as expected, but if … Continue reading

Posted in Uncategorized | Tagged , , , | 1 Comment

Varnishncsa and std.log()

New in Varnish 3.0.3rc1 is that you can put arbitrary log lines from VCL into the varnishncsa output. This can be used for funky stuff like logging the session cookie along with the request. Let’s say you have the following … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment

Mobile device detection in Varnish

As part of my DAY JOB[tm] I’ve been working on device detection with Varnish. There is some content about this on blogs here and there, but no single place to get rulesets or VCL. We want to fix that by … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment