Here is what seems to work so far:
Add this at the top of your App.gwt.xml:
<inherits name="com.google.gwt.core.Core" />
<add-linker name="xs" />
( ) app.nocache.js :
1) $doc.write...
2) $doc.write, , . :
eval('window.__gwtStatsEvent && window.__gwtStatsEvent({' + 'moduleName:"app", sessionId:window.__gwtStatsSessionId, subSystem:"startup",' + 'evtGroup: "loadExternalRefs", millis:(new Date()).getTime(),' + 'type: "end"});' + 'window.__gwtStatsEvent && window.__gwtStatsEvent({' + 'moduleName:"app", sessionId:window.__gwtStatsSessionId, subSystem:"startup",' + 'evtGroup: "moduleStartup", millis:(new Date()).getTime(),' + 'type: "moduleRequested"});');
3) .
document.body.appendChild(document.createElement('script')).src=base + strongName + ".cache.js";
, $doc.write .
:
<a href="javascript:(function(){document.body.appendChild(document.createElement('script')).src='http://abc.com/app.nocache.js';})();">My App</a>