I am really excited about Yarn, the new package manager that works with npm (and bower soon) in an optimized manner for JavaScript and the Web. After you `npm install -g yarnpkg` away, do a side by side comparison of installing a module using npm and yarn. Thanks to features such as its caching and …
Tag Archives: JavaScript
Separating Concerns through Service Worker Helpers
Literal cross cutting I am enjoying a new pattern emerge as we do more work with service workers, and that is wrapping a libraries usage, or some functionality, with a service worker that improves a particular concern: e.g. reliability. This reminds me of a past life in which I enjoyed aspect oriented programming techniques to keep …
Continue reading “Separating Concerns through Service Worker Helpers”
Own The Cache
I appreciate what the browser does for me caching what it can, but man that black box feels… well too black boxy. It has a complex algorithm that attempts to work out what it should keep and what it can safely purge, but I know it isn’t optimal for me and my needs as an …