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

migrate off GitHub Pages #178

Open
1 of 4 tasks
terijaki opened this issue Jun 21, 2024 · 2 comments
Open
1 of 4 tasks

migrate off GitHub Pages #178

terijaki opened this issue Jun 21, 2024 · 2 comments
Assignees
Labels
action required refactoring Same output but better code

Comments

@terijaki
Copy link
Owner

terijaki commented Jun 21, 2024

The site has reached the 1 GB threshold and needs to be migrated off GH pages to sustain.

It then no longer needs to be that statics and it is a good opportunity to move away from full SSG and embrace NextJS caching instead.

  • reduce env variables (issue with web cal)
  • all SAMS fetch requests are cached
  • investigate unstable cache
  • Investigate social sharing automation (post & game results)
@terijaki terijaki added refactoring Same output but better code action required labels Jun 21, 2024
@terijaki terijaki self-assigned this Jun 21, 2024
@terijaki
Copy link
Owner Author

@terijaki
Copy link
Owner Author

terijaki commented Jun 22, 2024

https://nextjs.org/docs/pages/building-your-application/data-fetching/incremental-static-regeneration

If there is an error inside getStaticProps when handling background regeneration, or you manually throw an error, the last successfully generated page will continue to show. On the next subsequent request, Next.js will retry calling getStaticProps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action required refactoring Same output but better code
Projects
None yet
Development

No branches or pull requests

1 participant