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

Caching in Thingworx

Highlighted
Regular Member

Caching in Thingworx

How to Implement Caching in Thingworx.

Any reference/pointers/samples will help.

 

Thanks

 

3 REPLIES 3
Highlighted

Re: Caching in Thingworx

Can you tell us more about the use case?

Generally you can cache information

server side

  Property

  Session parameter

client side

  mashup parameter

  session parameter

 input widget

Highlighted

Re: Caching in Thingworx

I am fetching Hierarchical data in TWX from remote server.

The hierarchy can be huge.

So need to cache this data  on TWX side.

can you tell me  what APIs are available for this.

Any documentation will help.

server side

  1.   Property
  2.   Session parameter
Highlighted

Re: Caching in Thingworx

Once you have the information retrieved, you can store that in a property of a Thing.

Now you mention 'Huge' how many rows of data is it?

You will have to cast the information into a fitting format, so either infotable or json

 

You could also store it into a DataTable in Thingworx, but if you are frequently accessing the information you might impact performance. It will again depend on the number of rows.

Announcements

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