News for hackers. Stuff that matters.
Re:Netlify deploys hundreds of thousands of Next.js sites – ... by erozzy on Thursday March 27, 2025 @10:36AM (#43494116)
(disclaimer: I work at Netlify) It's not a 1:1 channel, we're pushing for as much work in the open as possible, and extending the OpenNext group to more members.

IMHO one major challenge is the amount of work one has to do to build an adapter, if we can make the spec leaner and move logic out of e.g. the CacheHandler, that's gonna make it easier for you to create your own (or you could state that some features/modes are not supported - but for that, you'd need to have a very good idea of what these even are)

Re:Netlify deploys hundreds of thousands of Next.js sites – ... by huksley on Thursday March 27, 2025 @10:53AM (#43494313)
Thank you for clarifying! There is a open source cache adapter but it does not support NextJS 15 at the moment.
Re:Netlify deploys hundreds of thousands of Next.js sites – ... by serhalp on Thursday March 27, 2025 @11:08AM (#43494453)
Ooh, interesting. We didn't know about this. Is this it? https://github.com/caching-tools/next-shared-cache/tree/cana...
Re:Netlify deploys hundreds of thousands of Next.js sites – ... by huksley on Friday March 28, 2025 @12:24PM (#43507249)
yes, there is even the official example here https://github.com/vercel/next.js/tree/canary/examples/cache...

but it does not work because of NextJS 15.

I changed the example to point to latest NextJs 14 and fixed some cache-handler bugs it works fine, and I deploy it successfully with DollarDeploy to DO VPS https://github.com/huksley/next-cache-handler