cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

The community will undergo maintenance on October 16th at 10:00 PM PDT and will be unavailable for up to one hour.

Cache or disable GetAllStyleDefinitions/ GetAllStateDefnitions

TanmeyTWX
17-Peridot

Cache or disable GetAllStyleDefinitions/ GetAllStateDefnitions

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  

4 REPLIES 4
PaiChung
22-Sapphire I
(To:TanmeyTWX)

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?

Hey Pai,

 

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

PaiChung
22-Sapphire I
(To:TanmeyTWX)

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

Not using images within style definition but Mashup has icons/images on mashup load. I did raise a case with PTC support on the same but no concrete resolution so far.

Announcements


Top Tags