nextjs-lambda icon indicating copy to clipboard operation
nextjs-lambda copied to clipboard

[FR] Implement ISR

Open pinarruiz opened this issue 2 years ago • 5 comments

I have seen ISR is on the way, is there any ETA on when it will be implemented?

pinarruiz avatar Feb 28 '23 07:02 pinarruiz

Heya! I put it on side without ETA. Ultimately, i would need example project implementing it extensively so I can try it out :)

sladg avatar Feb 28 '23 18:02 sladg

Would you like me to prepare a sample project with ISR so it can be tested?

pinarruiz avatar Mar 01 '23 07:03 pinarruiz

@pinarruiz yeah! if you have some project on hand we could use for testing and debugging, that would be perfect!

sladg avatar Mar 01 '23 19:03 sladg

I have uploaded https://github.com/pinarruiz/nextjs-isr-test-project and invited you as a collaborator, the project will create n amount of random entries and revalidate every 10 seconds.

pinarruiz avatar Mar 02 '23 08:03 pinarruiz

@pinarruiz quick followup. The way to implement ISR nowadays is going with incrementalCacheHandlerPath. I'm trying to document these over here: https://github.com/sladg/doc-next-lambda.

sladg avatar Dec 21 '23 18:12 sladg