My case is similar to the "example" example. Only a standalone index.html.
So I add a WEB-INF directory with web.xml and lib/gwt-cache-filter-0.9.jar and now android phone reload it.
So if I understand correctly the *.cache.js are now always reloaded but quicker as they are gipped before transfer, right ?
best, Pierre
Le lundi 11 janvier 2021 à 22:10:17 UTC+1, peter.j...@gmail.com a écrit :
There's a library that manages this for you at https://github.com/realityforge/gwt-cache-filter which will set the caching parameters as required.Hi,
I have a gwt app developed with gwt-material but I assume it's not relevant for this problem.
The app is served by Tomcat.
Everything is fine with PC/iphone/iPad but with android after deploying a new app, the old one is still showned. The nocache mecanism doesnot work in android chrome.
Removing the cache works, but I cannot asks that to my users.
Any hint how can I force the browser to reload the app from server for theses mobiles ?
Thanks in advance
Pierre--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/cf24a086-3c9e-4488-9ab8-200402a38b4bn%40googlegroups.com.
--Cheers,
Peter Donald
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/e00c5f61-8a94-4da4-b852-7a2e58a4676en%40googlegroups.com.
No comments:
Post a Comment