3 ms·
With HTTP/2, you can send files down independently, without creating a large bundle, so each file can be cached. You couldn’t obfuscate function names across fi
by ec109685 9y ago
With HTTP/2, you can send files down independently, without creating a large bundle, so each file can be cached. You couldn’t obfuscate function names across files though unless you made the process deterministic based on module name.
- kilburn 9y agoBut you need some cache-busting functionality anyways (otherwise how does the client know that file "something.js" has changed?
- ec109685 9y agoEtags could be used to cause the browser to revalidate the contents without too much overhead since the connection is already establishd, but good point.