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

htmlpurifier caching improvements

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.6
    • Fix Version/s: 2.6
    • Component/s: Caching
    • Labels:
    • Testing Instructions:
      Hide

      1/ install moodle
      2/ upgrade moodle
      3/ run phpunit tests
      4/ add some forum with posts and verify the stuff texts display fine
      5/ purge caches and verify the forums again
      6/ delete the cachedir and localcachedir from OS and reload the page with forum posts and verify results

      Show
      1/ install moodle 2/ upgrade moodle 3/ run phpunit tests 4/ add some forum with posts and verify the stuff texts display fine 5/ purge caches and verify the forums again 6/ delete the cachedir and localcachedir from OS and reload the page with forum posts and verify results
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      w32_MDL-41017_m26_purifier

      Description

      List of known problems:

      1. our default cache for purify_html() is in cachedir - very slow if networked share
      2. it is not compatible with local caches on cluster nodes
      3. the cache files from HTMLPurifier are in cachedir
      4. allowobjectembed setting changes are ignored
      5. unchanged texts are stored in cache - this is not necessary
      6. there is a nasty hack in purge_all_caches()

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              skodak Petr Skoda
              Reporter:
              skodak Petr Skoda
              Integrator:
              Sam Hemelryk
              Tester:
              Michael de Raadt
              Participants:
              Component watchers:
              Matteo Scaramuccia, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                18/Nov/13