Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-23385

Lazy Scrolling is issuing too many redundant requests

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: 9.3-SNAPSHOT
    • Fix Version/s: 9.3
    • Component/s: Web UI

      Description

      It is overwhelming the server which will never be able to handle such load.

      Please see attached screen recording.

      Simple reprodruction case:

      • open the network panel of chrome inspector
      • go to the default search and switch to queue mode
      • select a folderish document (like Workspaces)
      • observe all the requests sent
      http://localhost:5000/nuxeo/api/v1/search/pp/advanced_document_content/execute?currentPageIndex=0&offset=0&pageSize=41&sortBy=dc%3Acreated&sortOrder=asc&ecm_parentId=82e0cccf-ef48-4698-83ee-a96a0811886a
      http://localhost:5000/nuxeo/api/v1/search/pp/advanced_document_content/execute?currentPageIndex=0&offset=0&pageSize=42&sortBy=dc%3Acreated&sortOrder=asc&ecm_parentId=82e0cccf-ef48-4698-83ee-a96a0811886a
      http://localhost:5000/nuxeo/api/v1/search/pp/advanced_document_content/execute?currentPageIndex=0&offset=0&pageSize=43&sortBy=dc%3Acreated&sortOrder=asc&ecm_parentId=82e0cccf-ef48-4698-83ee-a96a0811886a
      

      you can also observe that pageSize param is incrementing.

      After few navigations, my browser gets slower and slower.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours
                  4h