-
Improvement
-
Resolution: Fixed
-
Minor
-
3.1.2
-
-
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.