Skip to main content
17-Peridot
September 14, 2022
Question

Cache or disable GetAllStyleDefinitions/ GetAllStateDefnitions

  • September 14, 2022
  • 1 reply
  • 1568 views

Hi Folks,

 

As we know Mashup renders Style/StateDefinitions (platform subsystem) before executing data custom services which consumes a significant screen load time.

Is there a way to cache these subsystem services rendering so that it doesn't require to load every time?

 

Related: topic  

1 reply

22-Sapphire I
September 21, 2022

There is some amount of caching that does happen, but since it is uncertain if a style or state have changed I believe they are all loaded.

In the 'total' load time though it should not take up that much time, how much time has it been taking for you to have those executed and return the payload?

TanmeyTWX17-PeridotAuthor
17-Peridot
October 6, 2022

Hey Pai,

 

Total time is 12 secs. Out of which 2-3 secs for services and 8-10 secs for Style/State definitions.

22-Sapphire I
October 6, 2022

That seems very long, are you using any images in your style definitions?