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

Decrease number of core_course_get_contents calls in the section page

    XMLWordPrintable

Details

    • Hide
      1. Login in the app in Mobile 34.
      2. Open the development tools and clear the Network tab.
      3. Open the MM Dev Testing course. In the Dev tools, check that you don't see any call to core_course_get_contents with a single moduleid and you see 2 WS calls instead: one for resource and one for url.
      Show
      Login in the app in Mobile 34. Open the development tools and clear the Network tab. Open the MM Dev Testing course. In the Dev tools, check that you don't see any call to core_course_get_contents with a single moduleid and you see 2 WS calls instead: one for resource and one for url.
    • MOODLE_35_STABLE
    • MOODLE_35_STABLE
    • Moodle Mobile 3.5.2

    Description

      Right now we do 1 WS call for each mod_url and another WS call for some mod_resource.

      The WS allows passing a "modname", we should try to use it to decrease the number of WS calls.

      Attachments

        Activity

          People

            dpalou Dani Palou
            dpalou Dani Palou
            Pau Ferrer Pau Ferrer
            Juan Leyva Juan Leyva
            Juan Leyva Juan Leyva
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10/Sep/18