One of the first performance optimization tricks you learn is setting a far-future cache expiration date. This prevents browsers from repeatedly fetching, even revalidating, static resources. The downside of this approach to reducing network overhead is that you need to change the resources' URLs in order to have a browser re-download it. This post covers the problems encountered when using <base>
to achieve exactly that.
Continue reading "Revisioning Assets using <base>"
I just found out that a high-profile web application was using one of my open source libraries. This post reflects on what led there and what happened next…
Continue reading "The Honors Of Open Source"
Firefox - unlike Chrome - allows any web application to register any keyboard shortcuts (y'know the infamous CTRL + C). This might be a problem for users relying on keyboard navigation or even just general keyboard controls. This post shows a way prevent websites from capturing and muting essential commands such as CTRL + W (to close a tab).
Continue reading "Reclaim Your Keyboard Shortcuts in Firefox"
I have just come across an article by @wealthfront explaining how debouncing event handlers helps filtering double-clicks. While I like the idea, it doesn't quite cover it. The problem is rooted deeper than double click and this post will explain why that is and how to fix it.
Continue reading "Preventing Duplicate Execution"
It seems my world has become doing everything but writing Javascript. One of my rather frequent tasks these days is reviewing code. While this post is targeted at a specific project, it's the perfect little reminder everyone needs from time to time (including lazy ol' me…).
Continue reading "jQuery - The Little Things - 2"