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

Improve prefetch performance

    XMLWordPrintable

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • DEV backlog
    • None
    • Caching

    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

            Unassigned Unassigned
            albert.gasset Albert Gasset
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: