You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 77bcaa2
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: _TODO.md
-38Lines changed: 0 additions & 38 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -320,41 +320,3 @@ So the honest answer is:
320
320
The bigger problem on this homepage is still total shipped JS and chunk fan-out, not a deep chained graph. If you opened DevTools, I would expect "mostly stacked direct requests, plus a smaller second wave" rather than a long staircase.
321
321
322
322
If you want, I can next turn that into a plain-English takeaway for your _TODO.md, like: "fan-out is the main issue; dependency waterfall is present but shallow."
323
-
324
-
### Tags page
325
-
326
-
One caution:
327
-
328
-
src/pages/tags/[tag].astro is prerendered but also reads ?page=. That is not a reason to keep it dynamic, but it is a sign that query-param pagination there may not be doing what you expect in a prerendered route.
329
-
330
-
It's using page for plain old server-side pagination.
331
-
332
-
In src/pages/tags/[tag].astro, the route sets ITEMS_PER_PAGE = 12, then reads the query param here:
links like /tags/foo?page=2, /tags/foo?page=3, etc.
355
-
So the intent is:
356
-
357
-
/tags/some-tag means page 1
358
-
/tags/some-tag?page=2 means articles 13-24
359
-
/tags/some-tag?page=3 means the next 12, and so on
360
-
One important caveat: this route is also marked prerendered in src/pages/tags/[tag].astro. That means the code is written like SSR pagination, but because the route is static, the page query param may not actually produce distinct server-rendered HTML at runtime. In other words, the code is trying to use ?page= to choose which slice to render, but prerendering makes that suspicious.
0 commit comments