Hacker News new | ask | show | jobs
by biryani_chicken 2235 days ago
And download it every time? It is better to download it once and tell the browser to cache it.
1 comments

If it's inlined into another static resource, why not just cache that? HTML with an inlined script is just as valid a cache object as the plain script itself.