Skip to content

react-page-navigator - Performance on large page library #5655

@lfokke

Description

@lfokke

Disclaimer

Yes

Sample

react-page-navigator

Contributor(s)

@aakashbhardwaj619

What happened?

Hi,
We've been using v1.7 on a large page library (2000+ pages) without any issue.
some time ago we moved to v1.10 (because of the Sticky mode) and since then, performance is poor on this large library. When deployed on a small library, performance is great.
I discovered that this is due to a change in the way the page content is loaded. In 1.7 it's directly with the page ID but now it's a query on the URL.
It looks like this query causes the increased load time (I saw this with the devoper tool in Edge).

Can you think of a solution for this? For now we've reverted back to 1.7 but the Sticky mode is very much missed.

Steps to reproduce

1.Create a large page library ;-)
2.Place the webpart on a page
3.Wait some 60 or 90 seconds

Expected behavior

quick response

Target SharePoint environment

SharePoint Online

Developer environment

None

Browsers

  • Internet Explorer
  • Microsoft Edge
  • Google Chrome
  • FireFox
  • Safari
  • mobile (iOS/iPadOS)
  • mobile (Android)
  • not applicable
  • other (enter in the "Additional environment details" area below)

What version of Node.js is currently installed on your workstation?

v18.18.2

What version of Node.js is required by the sample?

v18

Paste the results of SPFx doctor

n.a.

Additional environment details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bug-suspectedSuspected bug (not working as designed/expected). See type:bug-confirmed for confirmed bugs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions