-
-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Closed
Labels
issue: discussionA general discussion issueA general discussion issue
Description
Bug report
Required System information
- Node.js version: v16.13.0
- NPM version: 8.8.0
- Strapi version: v4.1.9
- Database: SQLite
- Operating system: macOS v12.3.1
Describe the bug
Requesting the first page with a page size of 10 and an overall count of around 3500 elements takes nearly 20 seconds if I add populate=* to the query params. Without it takes 20 to 30ms (Strapi runs locally). The elements contain images and some component elements. Is it normal that it takes so much more time? No filters or similar are used...
Steps to reproduce the behavior
- Request
http(s)://$HOST/api/$COLLECTION?populate=*&pagination[pageSize]=10&pagination[page]=2 - Request
http(s)://$HOST/api/$COLLECTION?pagination[pageSize]=10&pagination[page]=2
Expected behavior
Using populate=* should not take nearly 20 seconds if it takes 20ms without.
Screenshots
n/a
Code snippets
n/a
Additional context
n/a
michaelhaar and Enrypase
Metadata
Metadata
Assignees
Labels
issue: discussionA general discussion issueA general discussion issue