Skip to main content
Aug 2, 2020 3:47 PM UTC
Question

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

Aug 3, 2020 7:40 AM UTC

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. 

TanmeyTWXAuthor
Aug 3, 2020 9:07 AM UTC

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.

Aug 3, 2020 9:11 AM UTC

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