Ignored By Dinosaurs varnish feed varnish A Varnish 4 VCL for Drupal 7 https://www.ignoredbydinosaurs.com/posts/283-varnish-4-vcl-drupal-7 <p>This is an interweaving of <a href="https://fourkitchens.atlassian.net/wiki/display/TECH/Configure+Varnish+3+for+Drupal+7">Four Kitchens' Varnish 3 VCL</a> and <a href="https://github.com/mattiasgeniar/varnish-4.0-configuration-templates">this generic Varnish 4 VCL</a>.</p> <pre><code><br />vcl 4.0; # Based on: https://github.com/mattiasgeniar/varnish-4.0-configuration-templates/blob/master/default.vcl import std; import directors; backend server1 { # Define one backend .host = "127.0.0.1"; # IP or Hostname of backend .port = "8080"; # Port Apache or whatever is listening .max_connections = 300; # That's it .probe = { #.url = "/"; # short easy way (GET /) # We...</code></pre> Wed, 27 Apr 2016 08:39:27 -0400 Brain Dump - Drupal and Fastly https://www.ignoredbydinosaurs.com/posts/252-brain-dump-drupal-and-fastly <h4>Prelude</h4> <p>Fastly is a CDN (content deliver network). A CDN makes your site faster by acting as a caching layer between the world wide web and your webserver. It does this by having a globally distributed network of servers and by using some DNS trickery to make sure that when someone puts in the address of your website they're actually requesting that page from the nearest server in that network.</p> <pre><code>$ host www.ecnmag.com www.ecnmag.com is an alias for...</code></pre> Mon, 02 Feb 2015 17:33:00 -0500 The default Fastly VCL https://www.ignoredbydinosaurs.com/posts/243-the-default-fastly-vcl <p>I screwed this one up pretty bad when I first got started with Fastly. That have that link that says "VCL", as if you should download that to get started. So I did. But that's the <em>generated</em> VCL, and all their special macros are already blown up, so you don't want to copy that one.</p> <p>And the one on their website has HTML entities encoded, so I'm putting this one here in case I need it again later.</p> <p><a href="http://docs.fastly.com/guides/vcl-faqs/how-do-i-mix-and-match-fastly-vcl-with-custom-vcl">The original</a></p> <pre><code>sub vcl_recv { #FASTLY recv if (req.request != "HEAD" && req.request !=...</code></pre> Wed, 08 Oct 2014 16:52:35 -0400