-
Improvement
-
Resolution: Fixed
-
Major
-
4.3
-
MOODLE_403_STABLE
-
MOODLE_404_STABLE
-
MDL-81065-master -
During a performance analysis of the app, we detected that one of the major bottlenecks is generated by how we treat and filter text on the app.
In particular, right now, we need to retrieve all the different contexts the app has access to and then apply only the filters available in those contexts. This generates multiple Web Service requests (impacting site performance as well) and forces us to use intensive cache operations within the app.
To address this issue, we are thinking of a different approach, instead of constantly consulting Moodle for the different contexts and the filters available in those contexts, we will retrieve the overall global filters configuration (that includes the overrides on particular levels, when the defaults are not used) and then allow the app to calculate which filters to apply.
In order to do the previous, we will need a new Web Service: core_filters_get_all_states (consistent with the current nomenclature)
- blocks
-
MOBILE-4526 Use new WebService to obtain filter overrides
- Closed