Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-81065

Create a new Web Service to be able to retrieve filter configuration and specific overrides per context

    XMLWordPrintable

Details

    Description

      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)

      Attachments

        Issue Links

          Activity

            People

              jleyva Juan Leyva
              jleyva Juan Leyva
              Rodrigo Mady Rodrigo Mady
              Sara Arjona (@sarjona) Sara Arjona (@sarjona)
              CiBoT CiBoT
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 5 hours, 26 minutes
                  5h 26m

                  Clockify

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