News for hackers. Stuff that matters.
Re:Designing very large JavaScript applications by ec109685 on Saturday April 21, 2018 @10:00AM (#16891446)
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.
Re:Designing very large JavaScript applications by kilburn on Saturday April 21, 2018 @03:48PM (#16893050)
But you need some cache-busting functionality anyways (otherwise how does the client know that file "something.js" has changed?
Re:Designing very large JavaScript applications by ec109685 on Saturday April 21, 2018 @10:26PM (#16894404)
Etags could be used to cause the browser to revalidate the contents without too much overhead since the connection is already establishd, but good point.