Hacker Newsnew | past | comments | ask | show | jobs | submit | jennings_hunter's commentslogin

You might be interested in the OpenCode project: https://github.com/opencode-ai/opencode

It's still under development but looks promising.


> In our Next.js setup, for example, all pages are served static by default and cached around the world, but every revalidation period (60 seconds or so?), one edge worker will check the data source against the upstream CMS, and rebuild that one page if needed.

Are you all using the incremental static regeneration API to accomplish this?


> Are you all using the incremental static regeneration API to accomplish this?

Yep. It's great, if hackish. A good overview (https://www.smashingmagazine.com/2021/04/incremental-static-...) or Vercel's own docs (https://vercel.com/docs/concepts/next.js/incremental-static-...)

Vercel aside, I think Cloudflare by itself works similarly if you configure it to "cache everything", including HTML pages, on a revalidation period. I find this a great balance between serverside rendering and static builds. Specifically it allows you to rebuild certain pages as things are created/updated (new or edit blog posts, products, etc.) without having to trigger a full rebuild every single time.


Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: