It's all about the answers!

Ask a question

How does RTC load data to Web UI?


Jazz Queries (111421) | asked Jul 09 '14, 5:38 a.m.
 Hi,

How does RTC load data to Web UI?

In a workitem there are default tabs like Overiew, links, history and we can have customized tabs as well. and on click of eatch tab the url address changes. So how does it load the data? Does it makes a Rest cal and preload all data to cache of browser? Does it make a REST call on each tab click?



Comments
Jonas Studer commented Jul 09 '14, 10:21 a.m.

As Piotr said, yeah it makes it on every Tab-Change.
But there's a bit of confusion.
You do mean "Tab-Of-Dashboard" right?
If it's so, then both of you are right.

1: YES it does make a request on a Tab-Change.
2: But just the first time! It does Cache the information if you don't refresh the page.

Just as caching works ;)

This method makes a lot of sense because:
If I had 10 or more Tabs, and it would preload EVERYTHING, it would take a lot of time. But with this method you just load what you wanna see.

2 answers



permanent link
Piotr Aniola (3.7k11738) | answered Jul 09 '14, 7:07 a.m.
A quick test with Firebug reveals that REST calls are made on each tab click.

permanent link
Jonas Studer (207917) | answered Jul 09 '14, 10:21 a.m.
As Piotr said, yeah it makes it on every Tab-Change.
But there's a bit of confusion.
You do mean "Tab-Of-Dashboard" right?
If it's so, then both of you are right.

1: YES it does make a request on a Tab-Change.
2: But just the first time! It does Cache the information if you don't refresh the page.

Just as caching works ;)

This method makes a lot of sense because:
If I had 10 or more Tabs, and it would preload EVERYTHING, it would take a lot of time. But with this method you just load what you wanna see.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.