Prefetching more items than requested on client side
Hey guys,
I was wondering about prefetching a long list of items (100) with getServerSideProps, but then - user will request just 10 of them on every page.
Is that actually going to work and take 10 items of prefetched 100 every time?
Or prefetch query has to be exactly the same as user query? I.e. if 100 items got prefetched then user also has to fetch 100 in order to make use of prefetch feature?
I was wondering about prefetching a long list of items (100) with getServerSideProps, but then - user will request just 10 of them on every page.
Is that actually going to work and take 10 items of prefetched 100 every time?
Or prefetch query has to be exactly the same as user query? I.e. if 100 items got prefetched then user also has to fetch 100 in order to make use of prefetch feature?