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

Cache or disable GetAllStyleDefinitions/ GetAllStateDefnitions

Highlighted
Alexandrite

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
Highlighted

Re: Cache or disable GetAllStyleDefinitions/ GetAllStateDefnitions

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. 

Highlighted

Re: Cache or disable GetAllStyleDefinitions/ GetAllStateDefnitions

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.

Highlighted

Re: Cache or disable GetAllStyleDefinitions/ GetAllStateDefnitions

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

Tags (1)
Highlighted

Re: Cache or disable GetAllStyleDefinitions/ GetAllStateDefnitions

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? 

Highlighted

Re: Cache or disable GetAllStyleDefinitions/ GetAllStateDefnitions

Any other workarounds?

Highlighted

Re: Cache or disable GetAllStyleDefinitions/ GetAllStateDefnitions

Is there any way to render styles and states faster?

Announcements

Thingworx Navigate content has a new home! Click here to access the new Thingworx Navigate forum!