Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pagination is not available #164

Open
thimiraonline opened this issue Feb 10, 2022 · 12 comments
Open

Pagination is not available #164

thimiraonline opened this issue Feb 10, 2022 · 12 comments
Labels
help wanted Extra attention is needed

Comments

@thimiraonline
Copy link

I have tried to implement this on my website, but unfortunately, there is no pagination. Therefore 1,927 posts were loaded. Please add pagination.

@styxlab
Copy link
Owner

styxlab commented Feb 13, 2022

@thimiraonline Welcome to this project! Yes it would be nice to add an pagination option. I'd be also interested to know if having 1,927 posts on your front page is slow or still fast. As images are lazy loaded, initial loading of 1,927 posts should still be extremely fast and the result should be similar to "infinite scroll". So, if you could link to your project, that would be nice.

I think adding this feature could be an interesting first contribution. The amount of articles loaded must be limited and then you need to generate additional pages for the "next results". Furthermore, this will influence the generation of taxonomies (tags and authors).

@styxlab styxlab added the help wanted Extra attention is needed label Feb 13, 2022
@thimiraonline
Copy link
Author

thimiraonline commented Feb 13, 2022

having 1,927 posts on your front page is slow or still fast

Hi @styxlab It is too slow when I load the website. You can check my website at Android වැඩකාර​යෝ

@styxlab

This comment was marked as resolved.

@thimiraonline

This comment was marked as resolved.

@styxlab
Copy link
Owner

styxlab commented Feb 13, 2022

The site is super fast:
image

@thimiraonline
Copy link
Author

thimiraonline commented Feb 13, 2022

But It is running with Handlebars. I want to make a React front end.

Recently I got a massive DDoS. After that I thought I should keep my back end hidden. imageimageimageimage

@styxlab
Copy link
Owner

styxlab commented Feb 13, 2022

Okay, could you then set-up your site with next-cms-ghost (maybe on a test domain) in order to see the speed impact of not using pagination?

@thimiraonline
Copy link
Author

I will setup it and let you know.

@nring
Copy link
Contributor

nring commented Mar 30, 2022

@thimiraonline Any luck with the pagination implementation?

@thimiraonline
Copy link
Author

@thimiraonline Any luck with the pagination implementation?

Not yet bro.

@2-fly-4-ai
Copy link

Whats up with this issue, how can they not have pagination?

@styxlab
Copy link
Owner

styxlab commented Apr 15, 2023

Whats up with this issue, how can they not have pagination?

I am not actively working on this repo anymore, but I am happy to take pull requests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants