Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@nuxt/contentを使用したページのPrerenderが異様に遅い #72

Closed
kakkokari-gtyih opened this issue Dec 23, 2023 · 9 comments
Closed
Labels
upstream Dependencies-related issue

Comments

@kakkokari-gtyih
Copy link
Collaborator

kakkokari-gtyih commented Dec 23, 2023

現状VercelでISRをしているので問題ないが、SSGサイトとして全ページをPrerenderしようとすると異様に生成が遅くなる
Currently we are doing ISR with Vercel so this is not the problem, but when we try to prerender all pages as a SSG site, the generation is way too slow.

image

@kakkokari-gtyih kakkokari-gtyih added help wanted Extra attention is needed upstream Dependencies-related issue labels Dec 23, 2023
@kakkokari-gtyih
Copy link
Collaborator Author

kakkokari-gtyih commented Dec 23, 2023

Maybe related to nuxt/content#2100

Quick info for this website

  • Number of pages: 3000+

@kakkokari-gtyih
Copy link
Collaborator Author

kakkokari-gtyih commented Dec 23, 2023

とりあえず nuxt/content の Discussion を立ててきたので、そこで何かしらの情報を得られるか試してみる
nuxt/content#2476

@kakkokari-gtyih
Copy link
Collaborator Author

nuxt/contentではなく@nuxtjs/i18nが問題な可能性がある

@kakkokari-gtyih
Copy link
Collaborator Author

このレポの@nuxtjs/i18n、メモリリークの修正入ったバージョンに更新されてないやんけ

@kakkokari-gtyih
Copy link
Collaborator Author

kakkokari-gtyih commented Dec 27, 2023

うわー多分それだ

@kakkokari-gtyih
Copy link
Collaborator Author

うわー多分それだ

関係なかった

@kakkokari-gtyih
Copy link
Collaborator Author

content-cacheが生成されるのに使ってない疑惑がある

@kakkokari-gtyih kakkokari-gtyih unpinned this issue Dec 29, 2023
@kakkokari-gtyih
Copy link
Collaborator Author

nuxt/content#2527 で解消した可能性あり

@kakkokari-gtyih kakkokari-gtyih added pending confirmation and removed help wanted Extra attention is needed labels Jan 26, 2024
@kakkokari-gtyih
Copy link
Collaborator Author

image

各ページが3~5秒程度でレンダリングされるようになったことを確認

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstream Dependencies-related issue
Projects
None yet
Development

No branches or pull requests

1 participant