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

htmlpurifier caching improvements

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.6
    • 2.6
    • Caching
    • MOODLE_26_STABLE
    • MOODLE_26_STABLE
    • w32_MDL-41017_m26_purifier
    • 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

    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

              skodak Petr Skoda
              skodak Petr Skoda
              Sam Hemelryk Sam Hemelryk
              Michael de Raadt Michael de Raadt
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                18/Nov/13