0 votes
1.3k views
by (200 points)

1 Answer

0 votes
ago by (30.6k points)

"Lazy loading" in IBM BPM is not one feature but a set of techniques to avoid doing work at coach load: render sections when shown, fetch data when needed, and page big lists. The concrete options, all covered in more detail in other answers on this site:

  • Tab Section / Collapsible Panel lazy rendering and Hidden visibility - the UI Toolkit only builds a view when it becomes visible (question 2439).
  • Service Call / Data controls on demand - load details when a row is selected or a section opens, not with the coach (question 2527).
  • Table pagination - render 15 rows, keep the rest in memory or fetch pages from a service.
  • Custom coach views that defer - IntersectionObserver / staged rendering of children (question 709).
  • Ajax lazy tabs in heritage / custom pages (question 56).
  • Server side: services called before the coach in the CSHS instead of in its load event, parallel service calls (question 3122), and keeping tw.local small (identifiers instead of full objects) so that the coach payload stays small.

Decide with a measurement: open the coach with the browser's Network and Performance tabs; if the HTML response is big, shrink the data; if the load is CPU-bound after the response, reduce or defer views; if a service dominates, move it or run it in parallel.

References

Related questions

+1 vote
1 answer 921 views
0 votes
1 answer 793 views
0 votes
1 answer 1.5k views
0 votes
1 answer 1.1k views
asked Apr 8, 2019 by zamil89 (120 points)
0 votes
1 answer 1.1k views
0 votes
1 answer 1.5k views
asked Apr 15, 2020 in Coach Views by mohd_azidi (140 points)
0 votes
1 answer 1.1k views
0 votes
1 answer 673 views
0 votes
1 answer 1.2k views
0 votes
1 answer 1.7k views
0 votes
1 answer 1.2k views

723 questions

807 answers

98 comments

4.9k users

Join BPM Community Discord Channel

Welcome to BPM Tips Q&A, Community wiki/forum where you can ask questions and receive answers from other IBM BPM experts and members of the community. Users with 2000 points will automatically be promoted to expert level.
Created by Dosvak LLC
Our Youtube Channel
...