Varnish: Debrief

Today, we just released the Varnish-ed site I posted about a few days ago. A few things to be careful about in your Varnish deployment (that I had originally overlooked): Make sure you’re 301 redirecting traffic to your canonical name ( to, or vice versa) Do this redirecting within Varnish! I had strange problems… Continue reading Varnish: Debrief


Been wondering how to simply retina-ize your website? Put this at the end of your site: $(function() { try { if (window.matchMedia(‘(-webkit-min-device-pixel-ratio: 2), (min-device-pixel-ratio: 2)’).matches) { $(‘.autoRetina’).each(function(i, e) { var orig_src = $(e).attr(‘src’); var new_src = orig_src.replace(/^(.*?).(png|jpe?g|gif)$/i, ‘[email protected]$2’); $(e).attr(‘src’, new_src); }); } } catch (e) {} }); If you’re on a Retina-equipped device, your images… Continue reading Retina

Flagship LLC

As many of you are aware, I have been working for about 6 months now, with 2 other people. On July 4th, we are pleased to announce that we have officially become a company, Flagship LLC. We have some pretty cool projects lined up in the near future, I’ll be posting updates on our released… Continue reading Flagship LLC