Currently for my blog page I am fetching up to a limited number of the most recent posts and paginating results client side. If I had a lot of posts and wanted to display all of them it might make more sense to query how many I had in total to determine the number of pages and then only fetch the posts required for the current page instead of fetching them all at once.
Pagination
Published: 2024-10-19