Mon.Feb 18, 2019

article thumbnail

JavaScript Loading Priorities in Chrome

Addy Osmani

How browsers schedule and execute scripts can impact the performance of web pages. While techniques like , (and others) influence script loading, knowing how browsers interpret them can also be helpful. Thanks to Kouhei Ueno , we now have an up to date summary of script scheduling in Chrome.

article thumbnail

instant.page

CSS - Tricks

instant.page is a pretty cool project from Alexandre Dieulot. Alexandre has been at this idea for half a decade now, as InstantClick is his and is essentially the same exact idea. The idea is that there is a significant delay between hovering over a link and clicking that link. Say it takes you 300ms of delay. That 300ms could have been spent preloading the next page.

Cache 111
article thumbnail

Using Hapi.js, Mongoose, And MongoDB To Build A REST API

The Polyglot Developer

To continue on my trend of MongoDB with Node.js material, I thought it would be a good idea to use one of my favorite Node.js frameworks. Previously I had written about using Express.js with Mongoose , but this time I wanted to evaluate the same tasks using Hapi.js. In this tutorial we’re going to develop a simple RESTful API using Hapi.js , Joi and Mongoose as the backend framework, and MongoDB as the NoSQL database.