Details

    • Sub-task
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.3, 2.4.1
    • 2.4.2
    • Caching, Filters
    • MOODLE_23_STABLE, MOODLE_24_STABLE
    • MOODLE_24_STABLE
    • wip-MDL-36297-m25
    • Hide
      1. Make sure you have cachetext off.
      2. Make sure you have perfdebug on.
      3. Create a course, add a forum, and enrol a student.
      4. Log in as the student.
      5. Enter the forum and make a post that contains HTML (make something bold and something else italic)
      6. Submit the post and then go back to view it.
      7. Check that down you have an entry for core/htmlpurifier in the perfdebug info.
      Show
      Make sure you have cachetext off. Make sure you have perfdebug on. Create a course, add a forum, and enrol a student. Log in as the student. Enter the forum and make a post that contains HTML (make something bold and something else italic) Submit the post and then go back to view it. Check that down you have an entry for core/htmlpurifier in the perfdebug info.

    Description

      It should be relatively simple to add a cache to purify_html() in weblib.php and it might give us a dramatic win.

      Attachments

        Issue Links

          Activity

            People

              samhemelryk Sam Hemelryk
              dougiamas Martin Dougiamas
              Dan Poltawski Dan Poltawski
              Rossiani Wijaya Rossiani Wijaya
              Matteo Scaramuccia, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                11/Mar/13