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

Community Tip - You can change your system assigned username to something more personal in your community settings. X

Cache or disable GetAllStyleDefinitions/ GetAllStateDefnitions

TanmeyTWX
17-Peridot

Cache or disable GetAllStyleDefinitions/ GetAllStateDefnitions

Hi,

 

Is there any way to cache or disable "GetAllStyleDefinitions/ GetAllStateDefnitions" from loading every time for a mashup in Thingworx version 8.5 to 9.0 ?

Its consuming loading time everytime a mashup loads with same style/css and wondering if it can be avoided for the same media,style,etc.

 

TanmeyTWX_0-1596383065036.png

 

6 REPLIES 6

We had seen this delay for certain mashups in Chrome. But the same mashup loads quickly in Firefox and Edge. Could you please check if this is true in your case as well?

 

Also, the delay was only seen in v83.x of Chrome. If this is the version that you are using could you please test after upgrading to 84.0.4147.89 or later. 

Hi rjanardan,

 

Thanks for writing back.

Application is restricted to chrome browser only so can't think of other browsers as of now.

And I have tried it on different chrome versions (79,83,etc) but same result.

 

Looking for a way to explicitly configure this Style and state definitions for mashup load.

Please try on Chrome latest version, which is 84.x.x.x

Tried on 8.4 version but no major improvement.Also browser workaround won't be a good option so as to restrict application user to a specific version.

 

Is there any way to cache the styles,states and Themes OOTB? 

Any other workarounds?

Is there any way to render styles and states faster?

Top Tags