Activity pages are slow for larger repositories #14711

Open
opened 2025-11-02 11:20:51 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @lunny on GitHub (Jul 6, 2025).

This is general problem with how pages are rendered.

https://gitea.com/lunny/kernel-source/activity/monthly takes 16s

https://gitea.com/lunny/kernel-source/activity/quarterly does not finish, ever.

It looks like the page is rendered on the server and then sent in one go.

This leaves the user with a blank page and timeout.

It appears that most forges would use client-side scripting to load large data.

However, the server could send the page chunked - send the header first, and the data as it is generated, and if needed some extra filler when data takes too long to process to avoid timeouts.

In ancient past it was also possible to load data in a frame which is now deprecated in favor of javascript scripting of loads.

Not sure if static HTML can be used to load another page as an element content.

Originally posted by @hramrach in #27864

Originally created by @lunny on GitHub (Jul 6, 2025). > This is general problem with how pages are rendered. > > > > https://gitea.com/lunny/kernel-source/activity/monthly takes 16s > > https://gitea.com/lunny/kernel-source/activity/quarterly does not finish, ever. > > > > It looks like the page is rendered on the server and then sent in one go. > > > > This leaves the user with a blank page and timeout. > > > > It appears that most forges would use client-side scripting to load large data. > > > > However, the server could send the page chunked - send the header first, and the data as it is generated, and if needed some extra filler when data takes too long to process to avoid timeouts. > > > > In ancient past it was also possible to load data in a frame which is now deprecated in favor of javascript scripting of loads. > > > > Not sure if static HTML can be used to load another page as an element content. _Originally posted by @hramrach in [#27864](https://github.com/go-gitea/gitea/issues/27864#issuecomment-1790686101)_
GiteaMirror added the performance/speedperformance/bigrepo labels 2025-11-02 11:20:51 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#14711