


The first thing you'll need to compile anything from source is a compiler, the most common one being GCC (Gnu C Compiler). I haven't seen any Mac OS X binaries for Varnish out there yet, but even if they eventually become available this guide could still be useful for installing the cutting edge versions of Varnish. In this tutorial, we'll be installing Varnish from source. I'd recommend the Lullabot videocast on Installing a local web server on Mac OS X. If you're not familiar with setting up a web server on Mac OS X, you'll need to get that working first. I personally set it up with the MAMP package, but because it doesn't make any difference what web server you use, you can use these instructions to set up Varnish in front of the built-in Mac OS X Apache or anything else you may have installed from MacPorts or compiled from source.
#Varmintz mac how to#
This article explains step-by-step instructions on how to get started with Varnish on a local Mac OS X sandbox.

If Varnish doesn't have a copy of the file or page being requested, it will request the page from the normal web server. This means that after a page has been requested once from the web server, Varnish keeps a copy of that file in an ultra-fast storage so that the next time that page is requested, it returns it immediately instead of starting up Apache, PHP, MySQL, and any other technologies your website may be built upon. The technical term for Varnish is a "reverse proxy cache", meaning that it handles the requests when you visit a website acting as a cached layer of content on top of Apache. Varnish is an excellent high-performance, HTTP accelerator.
