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

Prefetch description files and embedded files - refactoring the existing prefetch

XMLWordPrintable

    • Hide
      1. Add files to description of all modules affected. Please notice that you need to enable "Show description in course page" for folder, page and resource.
      2. Add embedded files (not attachments) to at least 1 glossary entry and 1 forum post.
      3. Check that prefetch still works as expected. Also, check that all the description files and the glossary/forum embedded files were downloaded too.
        • Right now there's a bug causing problems in prefetch description files for forum, scorm and wiki. See MDL-56019.
      Show
      Add files to description of all modules affected. Please notice that you need to enable "Show description in course page" for folder , page and resource . Add embedded files (not attachments) to at least 1 glossary entry and 1 forum post. Check that prefetch still works as expected. Also, check that all the description files and the glossary/forum embedded files were downloaded too. Right now there's a bug causing problems in prefetch description files for forum, scorm and wiki. See MDL-56019 .
    • MOODLE_31_STABLE
    • MOODLE_31_STABLE
    • Moodle Mobile 3.1.3

      Right now in some modules we aren't downloading description files (introfiles) and files embedded in content when we prefetch them, and we should do it.

      Embedded files don't have a file size, the only way to calculate it is to perform a head request. We decided that, if we detect there are embedded files in description/content and we don't have WS data for them, we'll show the "cannot calculate" message. In the future we'll receive embedded files from the WS.

      Also, in this issue we should check if invalidate files is really needed for the prefetched modules. Until now we used to invalidate all files when the user clicked refresh, but that can increase the network usage a lot for some activities.

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

              Created:
              Updated:
              Resolved:

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