Closed hunghvu closed 10 months ago
This might be because there is no depth limit for requesting list of articles. Consequently, it requests body
of all articles, which is very large and deeply nested. Hence performance exponentially degrades as the number of article increases.
This also leads to the question of.
Or maybe, just cache the page? The downside is new articles won't show up before the validation period, but does that even matter for a personal site?
Related issue: https://github.com/hunghvu/hungvu.tech/issues/38. We previously made fetch dynamic because otherwise, build is broken.
Considering that the back end is established, we won't see an issue like #38 anymore, but still, b41f0f4 is only a temporary solution for this rather severe ticket.
The problem also because the front end is use client
, effectively make it a React SPA, so performance is heavily impacted. We need to move away from PrimeReact timeline component.
This issue seems to be a duplication of #83 and #79, so we will close. Regarding core web vitals improvement, it will be in new tickets, with more specific details.
Many issues such as high TTFB, LCP, script blocking time, etc.