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

Improve prefetch performance

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: DEV backlog
    • Fix Version/s: None
    • Component/s: Caching
    • Labels:

      Description

      When prefetching activities the cache is ignored to get fresh data. This causes some requests to be duplicated:

      • When calculating the size of files to download some requests are made that are then repeated when doing the actual prefetch.
      • Some activities use helper functions to prevent code duplication in views, but some of these function might end up fetching data that was already fetched.

      We need some way to ignore old cache entries but still use the cache for new data during prefetch.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              albert.gasset Albert Gasset
              Participants:
              Component watchers:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: