Posts Categorized: Hints and Tips

Prevent Varnish from caching Drupal RSS feed

After posting about Cloudflare, I realized that Feedburner wasn’t updating with the new post, even after pinging and re-syncing. Watching log files as I was testing the validator, I realized Varnish was serving a cached version of rss.xml. Inserting the following code in /etc/varnish/default.vcl resolved the issue: // Skip the Varnish cache for rss feed… Read more »

Cloudflare for much improved response times

As I noted in my last post I recently switched from from a Varnish/Apache/Wordpress configuration to a Varnish/Nginx/Drupal. Before that I was also using Cloudflare to service as a CDN/additional layer of cache. I turned off Cloudflare while I was working on the new setup, making sure everything was working before turning it back on…. Read more »

ip6tables and automatic IPV6 addressing

Over the weekend, I switched VPS providers from Slicehost to Linode. I requested an IPV6 address for my server (and got one within 2 minutes of my ticket!) and this morning sat down to set up some firewall rules. After setting up the rules, however, I found that the IPV6 address was no longer being… Read more »

Redirecting canonical names in IIS 7

Preface:  This procedure uses the domain example.com for illustrative purposes only.  You will want to substitute example.com for your own domain.  Also, if the images are too small, click on them to expand to full size. When building a website, it is essential to plan for users that may try to access your site using… Read more »

Use WordPress functions in a static site

Sometimes, you may want a landing page that’s entirely different from your WordPress site, perhaps for a business. But, you want to advertise your blog as well on your site, with more engaging content than a link that points a user to your blog. Wouldn’t it be nice if you could list your most recent… Read more »