Rocs
Rocs
NNuxt
Created by Rocs on 6/27/2024 in #❓・help
Best way to cache a pre-rendered SSG project?
Hello! Currently I am working in a project that aims to prerender using data from a Database around 25000 pages I already got everything working: - SEO - prerender - SSG pipeline build - Deploying using Github actions + Aws S3 + Cloudfront - i18n My issue right now is that when I run the build both in local or in github actions I get memory issues, long build time (1 hour +) and it won't be scalable if I add mkre. My idea right now is to cache the prerendered pages in the project so I can just do the generate and update the specific pages when needed. But can't figure out any documentation or where to start. If someone has some suggestions, ideas or a better way to tackle the problem, would be awesome! PS: I read about ISR with vercel, but I don't want to change my current infrastructure
11 replies