-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Description
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.