Testing VMODs with Travis (travis-ci.org)Travis CI is a service where open source software can run tests automatically on commits. It hooks into github in a silky smooth way. If you’re developing a Varnish module (VMOD), you probably have started out with our libvmod-example package. … Continue reading →
Vagrant, Varnish and vmodsDevelopment environment has been plaguing us for a while in my product development department. From dependencies hell to complex setup in operations, our development environment has gone through the usual gauntlet of pains and complaints. This has changed with Vagrant. It is the single tool that gels the devs with the ops; quintessential devop tool […]
Thread organization in Varnish Cache 4.0One of the two biggest changes in Varnish 4.0 is how the threads work. Varnish uses threads for doing all the heavy lifting and it seems to be working out quite well. In Varnish 3.0 one thread would service each client, doing whatever that client wanted it to do. Within reason, obviously. These are very decent threads.
The thread would deliver from cache, fetch content from the backend, pipe, etc.
Varnish 4.0.0 releasedThis is a major feature release with a lot of big changes from the last version released 2.5 years ago. Some prominent examples include: Full support for streaming objects through from the backend on a cache miss. Bytes will be sent to 1..n requesting clients as they come in from the backend server. Background (re)fetch […]
Ok, cool, thanks for checking. I'll keep testing on my side and get a varnishlog posted. I just wanted to make sure before I dug anymore that how it was working for me wasn't just expected. Hope you...
Varnish caches based on the URL. If you just give it the IP address there is no proper Host header and your backend will be confused wrt to what content to serve.
Try reading https://www.varnish-...