Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-4786

Lazy load iframes on app

XMLWordPrintable

    • Hide

      Check on some diferent devices.

      This is a performance issue so it may be difficult to test. Check the link in description for more info.

      1. Prepare some iframes in a page that overflow the display. It could be some H5P already downloaded (see MOBILE-4584).
      2. Check all iframes are correctly shown and nothing breaks.
      3. The iframes that are not displayed in the screen and you need to scroll to see them may not be loaded and if you scroll quickly you should see how they are loaded.
      4. This is supported on iOS16.4 onwards and Android.
      Show
      Check on some diferent devices. This is a performance issue so it may be difficult to test. Check the link in description for more info. Prepare some iframes in a page that overflow the display. It could be some H5P already downloaded (see MOBILE-4584 ). Check all iframes are correctly shown and nothing breaks. The iframes that are not displayed in the screen and you need to scroll to see them may not be loaded and if you scroll quickly you should see how they are loaded. This is supported on iOS16.4 onwards and Android.
    • MOODLE_405_STABLE

      With some of the latest HTML Improvements iframes can be lazy loaded after the content enters the page.

      https://web.dev/articles/iframe-lazy-loading

            pferre22 Pau Ferrer
            pferre22 Pau Ferrer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.