Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

cache.html size in gwt and Slow-Loading

in my GWT project when I tested it by firebug I saw the ...cache.html file size is very big (about 700KB) and it cause for slow-loading the project for first time. In my project it can be a problem.

how to prevent size for cache.html in GWT?

like image 503
Nav Avatar asked Feb 16 '26 09:02

Nav


1 Answers

  1. Use Code Splitting to only load what's needed as it's needed.
  2. Use Compile Reports to find out which of your dependencies is causing your code size to be so huge, and (re)move them from the initial download.
like image 105
Jason Hall Avatar answered Feb 19 '26 20:02

Jason Hall



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!