GWT:如何使用服务器端置换选择?

时间:2021-08-27 15:52:16

At google I/O 2010 talk Google I/O 2010 - Architecting for performance with GWT There was an optimization with server-side script selection.

在Google I / O 2010上谈论Google I / O 2010 - 使用GWT进行性能架构在服务器端脚本选择方面进行了优化。

In the talk it was pointed out that you can speedup startup time. You can reduce the number of server round trips from 4 to 2 by doing the initial script selection on the server side instead of on the client side. The talk says that this could be done with Server-Side Permutation Selection.

有人指出,你可以加快启动时间。通过在服务器端而不是在客户端进行初始脚本选择,可以将服务器往返次数从4减少到2。谈话说这可以通过服务器端排列选择来完成。

I could not find any documentation on this topic.

我找不到关于这个主题的任何文档。

How do I determine the permutation which should be loaded on the server?

如何确定应在服务器上加载的排列?

1 个解决方案

#1


0  

Gerrit code review has/had such a thing (as far as I see it's gone on master). The interesting parts are in the package "com.google.gwtexpui.linker" and its subpackages:

Gerrit代码审查已经/有这样的事情(据我所知,它已经在主人身上)。有趣的部分在“com.google.gwtexpui.linker”包及其子包中:

https://gerrit.googlesource.com/gerrit/+/7f53c5696fd2dca0c1f68a0cc9ded8cf43e0948e/gerrit-gwtexpui/src/main/java/com/google/gwtexpui/linker/

#1


0  

Gerrit code review has/had such a thing (as far as I see it's gone on master). The interesting parts are in the package "com.google.gwtexpui.linker" and its subpackages:

Gerrit代码审查已经/有这样的事情(据我所知,它已经在主人身上)。有趣的部分在“com.google.gwtexpui.linker”包及其子包中:

https://gerrit.googlesource.com/gerrit/+/7f53c5696fd2dca0c1f68a0cc9ded8cf43e0948e/gerrit-gwtexpui/src/main/java/com/google/gwtexpui/linker/