payloadcms / payloadcms/payload
Performance degradation in Payload after upgrading Next.js
Open
@AlessioGr is already working on this.
Since Nov 5, 2025.
- Dominant language
- TypeScript
- Stars
- 44.8k
- Forks
- 4.2k
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 53
Description
Describe the Bug
After upgrading Next.js in our project, the overall performance of Payload has significantly degraded (e.g., response times are much slower). Downgrading Next.js restores performance.
This issue can be reproduced using the Payload multi-tenant example by upgrading Next.js to the version mentioned below or newer.
Link to the code that reproduces this issue
https://github.com/payloadcms/payload/tree/main/examples/multi-tenant
Reproduction Steps
- Clone the multi-tenant example from the Payload repo.
- Upgrade Next.js from 15.2.3 → 15.5.4 (or newer).
- Start the project and log in.
- Interact with the admin panel and API endpoints.
- Observe that response times and overall performance are significantly slower compared to the previous Next.js version.
Which area(s) are affected? (Select all that apply)
area: core
Environment Info
- payload: 3.59.1
- next: 15.5.4
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.