At Practo, we have a software offering (Ray by Practo) that is used by more than 40,000 doctors and their staff. They use it manage their scheduler and digitize medical records.
SaaS products are fundamentally different from mass consumer products in a few ways, when it comes to performance.
Due to these reasons, Ray cannot benefit from the static caching mechanisms that we have deployed for our consumer-facing website practo.com, …
But there’s an npm feature that does not get nearly the attention it deserves.
Like Yarn, npm also has a built-in caching mechanism that can make subsequent installs super fast.
Here are some benchmarks:
That’s crazy, right? And guess what: this feature has been available to you this whole time, but it’s disabled by default. …
$ npm install --save express
To scratch my itch, I wrote a tiny node utility which lets me focus on the code without installing dependencies.
I was pretty happy with it, so I wrapped it in a git repository and shared it on Hacker News.
If you’re interested, here’s a link to the repo, auto-install, which already has more than 6,000 downloads:
I wasn’t expecting much out of the post, just wanted to throw it out there in case someone else finds it useful. …