我在学习gwt的时候在developers.google.com看到了以下句子。
"The "`cache`" files contain your application's logic. If you were to look inside a
`.nocache.html` file, you would see that it is JavaScript code wrapped in a thin HTML
wrapper.You might wonder why the `GWT` Compiler doesn't simply emit it as a JavaScript .js
file. The reason for this is that certain browsers do not correctly handle compression of
pure-JavaScript files in some circumstances. This would effectively mean that users
unfortunate enough to be using such a browser would download the `.js` file uncompressed. "
我们是javascript
从 .cache.html 文件加载的,那为什么我们不能从 .js 下载呢?我认为现在所有浏览器都支持javascript
..