Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.3, 2.4.1
    • Fix Version/s: 2.4.2
    • Component/s: Caching, Filters
    • Labels:
    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE
    • Pull Master Branch:
      wip-MDL-36297-m25

      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

              Assignee:
              samhemelryk Sam Hemelryk
              Reporter:
              dougiamas Martin Dougiamas
              Integrator:
              Dan Poltawski
              Tester:
              Rossiani Wijaya
              Participants:
              Component watchers:
              Matteo Scaramuccia, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón, Jake Dallimore, Jun Pataleta
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                11/Mar/13