Incremental Static Regeneration (ISR) with Next.js 15+ #5682
-
|
Is this possible on Coolify? If no / sort of: What are the issues that prevent it from working? From my tests, what seems to happen is that a page (eg, Any information about this would be appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
@joneslloyd are you using cloudflare or some other provider, which can override cache control headers? check the browser network tab to see if its a cf cache hit you can set this env 'NEXT_PRIVATE_DEBUG_CACHE=1' also make sure you aren't using an output of export as ISR is not supported in that mode. please note coolify has nothing to do with what your nextjs app is serving, if you still have issues you are better off asking in nextjs discord/gh |
Beta Was this translation helpful? Give feedback.
@joneslloyd are you using cloudflare or some other provider, which can override cache control headers? check the browser network tab to see if its a cf cache hit
you can set this env 'NEXT_PRIVATE_DEBUG_CACHE=1'
this will log cache hits and misses etc
also make sure you aren't using an output of export as ISR is not supported in that mode.
please note coolify has nothing to do with what your nextjs app is serving, if you still have issues you are better off asking in nextjs discord/gh