Skip to main content
17-Peridot
August 2, 2020
Question

Cache or disable GetAllStyleDefinitions/ GetAllStateDefnitions

  • August 2, 2020
  • 1 reply
  • 2466 views

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

 

1 reply

16-Pearl
August 3, 2020

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. 

TanmeyTWX17-PeridotAuthor
17-Peridot
August 3, 2020

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.

16-Pearl
August 3, 2020

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