You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by GitBox <gi...@apache.org> on 2019/08/22 07:10:38 UTC

[GitHub] [incubator-weex] zsmjhtn removed a comment on issue #2839: 求分享JS service内置包的方案

zsmjhtn removed a comment on issue #2839: 求分享JS service内置包的方案
URL: https://github.com/apache/incubator-weex/issues/2839#issuecomment-523778903
 
 
   > JS bundle包越来越大,想把一部分包内置到客户端中,但是包很大了之后,页面的渲染性能随之下降,求分享一个1M的包(gzip之后),渲染方案
   
   单weex文件越来越大?还是weex总文件数量增大?
   个人经验单文件一般100kb左右。先打weex包,在apk打包时,将加密后的weex文件copy到apk的asset里面,apk启动时先把asset里的weex文件copy到sd卡,然后加载sd卡里的weex文件。
   至于weex文件热更新,在生命周期做个同步,比较本地和远程md5,增量下载到sd卡。
   
   目前没遇到过明显的渲染性能问题。渲染回调不能正确控制等几个小问题一直都有

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services