https://nuxt.com/api/search.json endpoint returns 515 KB/12.5 MB compressed/uncompressed JSON data. It is not inspectable, Chrome refuses to show Response due to its size
https://api.nuxt.com/contributors returns 375 KB/ 3.7 MB compressed/uncompressed JSON data.
Result contains array of 22787 values. My guess this can be limited to 1000 at most,
Current grid of supporters on page shows 20 faces every 5 seconds. 1000 should suffice for 4 minutes spent on page.
Problem
Two of the API requests, /search and /contributors, load around 16 MB of JSON in total. It may slow down the performance of the page
Steps to reproduce:
Actual result
https://nuxt.com/api/search.json endpoint returns 515 KB/12.5 MB compressed/uncompressed JSON data. It is not inspectable, Chrome refuses to show Response due to its size
https://api.nuxt.com/contributors returns 375 KB/ 3.7 MB compressed/uncompressed JSON data. Result contains array of 22787 values. My guess this can be limited to 1000 at most, Current grid of supporters on page shows 20 faces every 5 seconds. 1000 should suffice for 4 minutes spent on page.
Expected result
Only necessary data is sent to the page