Problem when deploying new compiled code

17 views
Skip to first unread message

Ice13ill

unread,
Nov 8, 2011, 6:11:46 AM11/8/11
to Google Web Toolkit
Hello, I use GWT + GAE for my app development and I have a problem
when deploying a version containing a lot of changes (compared to the
last version): for example: same gadgets but with a different code/
architecture, changed DTOs, etc.
Some times, when deploying a new version (and then setting it
default), the browser shows only a blank page (the javascript code is
run but nothing is desplayed). I can't really reproduce the problem so
it is very hard to debug, but if needed I can instruct my users to
clean their cookies and cache, and the problem is solved.
Is there a way to solve this problem ? (for ex, creating a script that
runs at the beginning of onModuleLoad())

Thomas Broyer

unread,
Nov 8, 2011, 7:00:27 AM11/8/11
to google-we...@googlegroups.com
You probably need to tweak your server settings re. caching. Particularly, make sure that the *.nocache.js is *not* cached by intermediaries and browsers. See http://code.google.com/webtoolkit/doc/latest/DevGuideCompilingAndDebugging.html#perfect_caching

Andrei Cosmin Fifiiţă

unread,
Nov 8, 2011, 7:21:23 AM11/8/11
to google-we...@googlegroups.com
Thank you for your reply Thomas. I was firmly convinced that my config file had the necessary settings, but i was wrong.

On 8 November 2011 14:00, Thomas Broyer <t.br...@gmail.com> wrote:
You probably need to tweak your server settings re. caching. Particularly, make sure that the *.nocache.js is *not* cached by intermediaries and browsers. See http://code.google.com/webtoolkit/doc/latest/DevGuideCompilingAndDebugging.html#perfect_caching

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/wEkRfK7kjosJ.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Reply all
Reply to author
Forward
0 new messages