My favorites | Sign in
Project Home Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 2: Stats Figures and Top Ten are refreshed every page load
1 person starred this issue and may be notified of changes. Back to list
 
Project Member Reported by MattAntW...@gmail.com, Jul 16, 2011
Currently the top ten pages and statistic figures are refreshed every time the page is refreshed. This involves having to query the whole history data set and process all the data again.

A better way of doing it could be to move the logic to the background page and implement event listeners to listen out for new pages added to the history and then update the data sets accordingly. This should help to reduce load time and make the app a lot more responsive.
The downside is that if the processing is done when the browser is loaded extra CPU resources are being used and people might not want to use the app in that session. To combat this maybe a 1st run mechanism could be implemented that will refresh the data when the app is first opened and the just rely on event listeners to update the data thus eliminating the problem as the user has actively expressed a need for the data. This should also be implemented for the graph.
Jul 16, 2011
Project Member #1 MattAntW...@gmail.com
(No comment was entered for this change.)
Labels: -Priority-Medium Priority-High

Powered by Google Project Hosting