Open GoogleCodeExporter opened 9 years ago
I agree completely.
Inlining into java would have the huge benefit of the compiler optimizing away
all
the code that is not actually used!
But if the file(s) are kept as separate javascript, it would be good with a
version-specific name, e.g. gwt-math-2.1.1.js, so that the web application with
some
sanity can be configured to deliver the file(s) with a "far future" http Expires
header (e.g. now + 1 year). This would make the file(s) perfectly cacheable in
the
browser as well as http proxy servers. And it would be "safe" because an updated
version would have a different name, and therefore to the caches appear to be a
totally different resource.
Original comment by Ulrik.S...@gmail.com
on 10 Dec 2009 at 11:31
Original issue reported on code.google.com by
johnth...@gmail.com
on 8 Jan 2009 at 4:35