mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #24000
[Bug 1419399] [NEW] Improve page rendering speed by loading block contents via AJAX
Public bug reported:
The Mahara dashboard page can be quite slow to load on large Mahara
sites, because it contains the "latest views" block by default, and this
block runs some pretty big queries. Removing this block improves the
rendering time of the Dashboard page considerably, and in fact removing
all the blocks makes it render even faster!
We can't remove the blocks from the pages, but we can greatly improve
the loading time of the page by simply providing placeholders for the
blocks, and then loading the block contents with further AJAX requests.
This will reduce the time before the user sees *something* on screen,
and it will also reduce the time to get the whole page loaded, because
the blocks can be generated in parallel instead of serially.
** Affects: mahara
Importance: Wishlist
Assignee: Aaron Wells (u-aaronw)
Status: In Progress
** Tags: blocktypes performance
** Changed in: mahara
Importance: Undecided => Wishlist
** Changed in: mahara
Status: New => In Progress
** Changed in: mahara
Assignee: (unassigned) => Aaron Wells (u-aaronw)
** Changed in: mahara
Milestone: None => 15.04.0
** Tags added: blocktypes performance
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1419399
Title:
Improve page rendering speed by loading block contents via AJAX
Status in Mahara ePortfolio:
In Progress
Bug description:
The Mahara dashboard page can be quite slow to load on large Mahara
sites, because it contains the "latest views" block by default, and
this block runs some pretty big queries. Removing this block improves
the rendering time of the Dashboard page considerably, and in fact
removing all the blocks makes it render even faster!
We can't remove the blocks from the pages, but we can greatly improve
the loading time of the page by simply providing placeholders for the
blocks, and then loading the block contents with further AJAX
requests. This will reduce the time before the user sees *something*
on screen, and it will also reduce the time to get the whole page
loaded, because the blocks can be generated in parallel instead of
serially.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1419399/+subscriptions
Follow ups
References