Limit the number of load-heavy blocks on a page or use lazy-loading or both

Bug #1973820 reported by Kristina Hoeppner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Triaged
Wishlist
Unassigned

Bug Description

Suggestion from Robert:

We have some very load intensive blocks that work with a lot of JavaScript, e.g. the 'PDF' block and potentially also the 'External media' block. Placing more than a few (less than 10) PDF blocks on a page is fine, but more slows down pages a lot and is causing problems.

There are some options that we should investigate before making a final decision:

1. Limit the number of load heavy blocks on a page.
2. We might need to get a load on scrolling type thing working, eg the block wrappers load on page load but the content loads via ajax only when the block becomes visible to the viewport - because we use gridstack now things should expand horizontally / float upwards as we want
3. A combination of both.

With the progressive loading, we'd need to consider finding things in a page and what the trade-off could be if someone uses Ctrl+F. It shouldn't affect what is found via Elasticsearch.

Revision history for this message
Robert Lyon (robertl-9) wrote :
summary: - Limit the number of load-heavy blocks on a page or use progressive
- loading or both
+ Limit the number of load-heavy blocks on a page or use lazy-loading or
+ both
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.