How does RTC load data to Web UI?
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?
|
2 answers
A quick test with Firebug reveals that REST calls are made on each tab click.
|
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
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.
Comments
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.