Clearing Facebook’s Cached Fetches

Earlier, I ran into an issue with a website suffering a configuration issue that resulted in a redirect loop.  During this time, the site had been added to a Facebook post.  As expected, rather than displaying site content in the preview that it puts together, Facebook noted in the preview that there was a 301 redirect. The issue was that after … [Read more…]

Links – Oct 10-24

A few interesting links from the last week or so – the Google Marker link really helped out on a project we’re working on which requires displaying lots of information about a limited number of locations. Animated SVG Progressbars: http://kimmobrunfeldt.github.io/progressbar.js/ Google Two-Factor Authentication for SSH logins: http://code.tutsplus.com/tutorials/securing-your-server-login–cms-22001 Commandline Lastpass: http://blog.lastpass.com/2014/10/open-sourced-lastpass-command-line.html Docker Development Patterns: http://www.hokstad.com/docker/patterns OverlappingMarkerSpiderfier – will … [Read more…]

Some easy website optimization wins

Here is a list of my favorite quick-and-easy optimizations which will result in faster load times for your websites: Caching The fastest communication is that which doesn’t occur, and sending appropriate content expiration headers with your data can accomplish just that – browsers and intermediate caches will hold on to your data after transmission and … [Read more…]

How to prevent forwarding to the web server back-end port when using Varnish

Depending on your web server and Varnish configurations, you may find that URLs that do not end in a trailing slash get redirected to Varnish’s back-end port: http://example.com/about –> http://example.com:8080/about/ If you have (and hopefully you do) your firewall blocking direct access to the back-end port, you can end up with a timeout error. The solution … [Read more…]

Chaining and piping at the command line

At the command line, you will find that you frequently need to run multiple commands to accomplish your end goal. It’s important, therefore, to understand the various options you have to link commands together: Consecutively The simplest way is to run multiple commands is to connect them with semi-colons: command1 ; command2 ; command3 Doing … [Read more…]