0

在视图控件的数据源中,有一个dataCache带有 Full、ID 和 NoData 选项的属性。从一些来源我收集到:

Full - 保留整个视图

ID - 最小标量数据 ID 和位置。在 POST 期间无法访问列值

没有——说得够多了——需要重建整个视图

但是这个属性究竟是如何影响 XPage 的性能的呢?我可以在每个选项中使用哪些方法/功能?每个选项的适用性如何?

4

1 回答 1

0

I haven't tested, but I would presume the following are true. The more you persist in memory, the quicker it is to restore for expand/collapse etc. However, the more users and the bigger the view (number of columns rather than number of documents, because not all documents will get cached), the more risk of out of memory issues. Access to column values means you may have problems using getColumnValues() in SSJS from the view.

XPages is pretty quick, so unless you have specific performance issues, the default should be sufficient.

于 2012-09-06T21:30:28.500 回答