Flashpoint-Website icon indicating copy to clipboard operation
Flashpoint-Website copied to clipboard

/search api slow response due to no pagination

Open abdullah1116 opened this issue 1 year ago • 0 comments

on this page https://flashpointproject.github.io/flashpoint-database/search/

if we search "car" it took 2.8min for me image

it has 1.2mb of data, it fetched all 83 pages (8261 rows) at once even when paginated is checked.

i think i should not pull all data which will fasten the response time and also will ease the server.

abdullah1116 avatar Oct 16 '24 18:10 abdullah1116