Predictable long term caching with Webpack
Getting long-term caching right with Webpack is a problem that never really got a final answer.
There is, however, this open issue on Github:
- it has 162 comments
Caching plays important role while designing low latency, high throughput systems. When you want to process a request, you want to avoid I/O operations as much as possible. Reason being it takes time to do that — Disk seeks are expensive, network calls are expensive. Typical times…
I just published my latest blog post over How Browser Caching Works. Caching in the web is something that every web developer should be at least a little bit familiar with, and the concepts behind it aren’t too hard to grasp. Check it out if you’re interested!
A friend recently told me that premature optimization is the root of all evil. I set up caching for my most recent project because an API essential to the application rate limits at 200 requests per endpoint per day, and I was hitting that limit near daily. The information also isn’t updated…