Hacker News new | ask | show | jobs
by Softcadbury 1840 days ago
For the first call maybe, but then with the cache ?
2 comments

You can't ever rely on the browser cache. Hit rates are very poor.

Unless maybe you're managing cache yourself with a service worker.

That depends entirely on what you're developing (internal vs external etc.) and how frequently the resource will be needed.
You're really only saving a few milliseconds, and keeping cached files small is valuable.