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

Rethink static caches approach in search areas

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.1
    • Fix Version/s: None
    • Component/s: Global search
    • Labels:
    • Affected Branches:
      MOODLE_31_STABLE

      Description

      Newbie error adding static caches like mod_forum\search\post::postsdata and friends.

      • forum posts are just 1 for each document, no need to cache it, only after MDL-53515 might be worth reusing posts data, but should be unset later after used.
      • forum discussions can be very big too
      • review other static caches I added in MDL-31989

      An alternative for cases where we really need a cache is MUC and request caches, at least admins can choose where to store the data and the main frontend node will not run out of memory

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                dmonllao David Monllaó
                Participants:
                Component watchers:
                Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: