Monday, April 28, 2014

Re: GWT compiler produces different hashes for .cache.html files on each compile

Hi agentorange,

I agree with you that it would be nice if I restart the compiler without any changes the same result will be produced.
But compiling a version for each node behind the load balancer sounds very strange for me. 
I would expect that the application will be compiled once and this output deployed to the different nodes?


Am Montag, 28. April 2014 12:30:12 UTC+2 schrieb agentorange:
I am having issues when deploying a GWT application to nodes behind a load balancer. Each node checks out and compiles the same branch, and thereby the same source code, but the the strong names for .cache.html files are different on each node. 

So I created a blank project in eclipse and compiled it multiple times without changing the source code to replicate this issue locally, and it can be reproduced. According to the FAQ, this should not be the case (see below). But maybe this behaviour has changed over time?

Compiler version is GWT 2.6.0

They are named according to the MD5 sum of their contents. This guarantees deterministic behavior by the GWT Compiler: if you recompile your application without changing code, the contents of the output will not change, and so the MD5 sums will remain the same.

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment