加快 GWT 项目的刷新
我正在开发一个项目,使用 GWT.FireFox 浏览器和 Eclipse IDE。
当项目正在运行并且我刷新浏览器以获取客户端包更改时,需要很长时间。也许6到10秒。
也许是因为项目变大了。 如何加快浏览器的刷新过程?
I'm developing a project, using GWT.FireFox Browser and Eclipse IDE.
when the project is running and i refresh my browser for client package changes, it takes too long. maybe 6 to 10 seconds.
maybe cause be project became big.
how can i speed-up the refresh process on the browser ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
不幸的是,您无法采取很多措施来加快开发模式刷新时间,相对而言,6-10 秒并不是一个可怕的时间(特别是与不使用开发模式并每次都进行完全重新编译相比)。
如果您还没有尝试过代码分割,您几乎肯定会看到部署应用程序后,重新编译时间会减少,页面加载时间也会减少。但除此之外,我真的想不出有什么可以大大减少你的开发模式刷新时间。
Unfortunately there's not a lot you can do to speed up Development Mode refresh time, 6-10 seconds isn't a terrible amount of time comparatively (especially vs. not using Dev Mode and doing a full recompile each time).
If you haven't tried code splitting yet, you will almost definitely see a decrease in recompile time, and a decrease in page load time in general once your app is deployed. But beyond that I can't really think of anything that would drastically reduce your Dev Mode refresh time.
这篇文章可能会有所帮助你。
编辑:链接现在再次工作。
This post might help you.
EDIT: Link now working again.