Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-27756

Filemanager plugin in the rich text editor can take a long time to load sites with lots of resources

    XMLWordPrintable

    Details

    • 10 status:
      Resolved

      Description

      The filemanager plugin provides the ability for a user to link to other resources within Sakai. However in some sites with lots of files this process can be painfully slow as the plugin is loading all the resources for that site.

      Loading all resources so that a user my only select one resource is not an efficient ui and this design flaw can cause bad performance on the application server.

      Typically a user organizers their content into a folder structure for easier access we can take advantage of this by only loading this items in the current view.

      So the strategy is to take advantage of how users organize their content and only load what the user clicks on.

      Caveat, If the user does not organize their content into a folder structure then there is no performance gain since all the files are located in the root of the sites resources, fortunately this is not a typical use case.

      Steps to reproduce:
      1) In a site creates lots of content in resources, including folders and files on the order of 1000's of files. (more content longer it takes to load)
      2) From the WYSIWYG editor use the "Link" -> "Server Browser" feature.
      3) Long load time starts now with a dialog saying "Loading, please wait ....".
      4) Wait for the server to produce the entire response of all folders and resources. We have seen this take one minute with a site containing 10K resources.

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                ern Earle R Nietzel
                Reporter:
                ern Earle R Nietzel
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Git Integration