Skip to content

Revisioning Assets using <base>

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>"

Reclaim Your Keyboard Shortcuts in Firefox

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"