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

Filepicker module should be included only where it is needed - not on every page

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Not a bug
    • Affects Version/s: 2.1
    • Fix Version/s: None
    • Component/s: Filepicker
    • Labels:
      None
    • Testing Instructions:
      Hide

      1. Go to course front page, view page source, make no filepicker js required, and test other places like module front page
      2. go to pages using editor(forum post), filepicker(course restore) or filemanager(forum post attachment), make filepicker still working

      Show
      1. Go to course front page, view page source, make no filepicker js required, and test other places like module front page 2. go to pages using editor(forum post), filepicker(course restore) or filemanager(forum post attachment), make filepicker still working
    • Affected Branches:
      MOODLE_21_STABLE
    • Pull from Repository:
      git@github.com:dongsheng/moodle.git
    • Pull Master Branch:
      s11_MDL-28284_filepicker_module_master

      Description

      Filepicker module should be included only where it is needed - not on every page.
      This presently leads to loading and piles of strings, yui3 modules, and yui2 modules for every page.

      Dongsheng is there anything you can tell me about this - as to why it might be required on every page?
      Certainly if it isn't critical this is some low hanging fruit for a performance win.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: