next-cms-ghost icon indicating copy to clipboard operation
next-cms-ghost copied to clipboard

Pagination is not available

Open thimiraonline opened this issue 3 years ago • 12 comments

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

thimiraonline avatar Feb 10 '22 16:02 thimiraonline

@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 avatar Feb 13 '22 09:02 styxlab

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 වැඩකාර​යෝ

thimiraonline avatar Feb 13 '22 15:02 thimiraonline

Can you please ask the question at https://github.com/styxlab/next-cms-ghost/discussions and remove it here? It's another topic and not an issue.

styxlab avatar Feb 13 '22 20:02 styxlab

edited and posted on discussions

thimiraonline avatar Feb 13 '22 20:02 thimiraonline

The site is super fast: image

styxlab avatar Feb 13 '22 20:02 styxlab

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

thimiraonline avatar Feb 13 '22 20:02 thimiraonline

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?

styxlab avatar Feb 13 '22 20:02 styxlab

I will setup it and let you know.

thimiraonline avatar Feb 14 '22 03:02 thimiraonline

@thimiraonline Any luck with the pagination implementation?

nring avatar Mar 30 '22 15:03 nring

@thimiraonline Any luck with the pagination implementation?

Not yet bro.

thimiraonline avatar Mar 30 '22 15:03 thimiraonline

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

2-fly-4-ai avatar Apr 13 '23 20:04 2-fly-4-ai

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.

styxlab avatar Apr 15 '23 12:04 styxlab