GetPublii / Publii

The most intuitive Static Site CMS designed for SEO-optimized and privacy-focused websites.
https://getpublii.com
GNU General Public License v3.0
6.35k stars 420 forks source link

[Feature Request]: Paginated post list view to avoid delay #1315

Open adrianlopezgalera opened 10 months ago

adrianlopezgalera commented 10 months ago

Hello. Your project is wonderful. I was testing Publii to analyze a possible migration of my websites. Therefore, I have tried to analyze possible errors or improvements to revolve them before taking the step.

A first would be to offer a division or paginated view in the list of entries (All, Published, Drafts) in order to reduce the load. I have a blog with thousands of posts and the program freezes slightly when it has to load the list or search through the posts.

It should be noted that I use a high-end computer, so the power of the processor is not a bottleneck. In fact, I think it can become a serious problem for very large websites on modest computers. It is logical that Publii takes longer to layout web content on less powerful processors, but this should not affect usability.

Regards.

Edit:

I just found some related proposals to improve posts options: https://github.com/GetPublii/Publii/issues/656

jeffdev11 commented 10 months ago

Unfortunately, this is an old issue that several people, including myself, have already encountered and reported. It seems that improving the performance of the posts page is not a priority for the upcoming releases.

dziudek commented 10 months ago

@jeffdev11 - we have a plan to work with virtual scrolling implementation for posts list in v.0.45/v.0.46 to optimize posts/tags/authors list views with thousands of items. In general in v.0.45 - v.0.48 we want to implement step by step few optimizations for larger websites.

jeffdev11 commented 10 months ago

@dziudek - Thank you, I'm glad to hear that!