sladg / nextjs-lambda

Lambda deployments for Nextjs12 & Nextjs13 (standalone). Easy CLI commands to get your standalone Next output to run in AWS Lambda (not @Edge)! Uses CDK in behind and produces code zips importable to Terraform, Serverless, Azure, etc.
MIT License
169 stars 19 forks source link

[FR] Implement ISR #81

Open pinarruiz opened 1 year ago

pinarruiz commented 1 year ago

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

sladg commented 1 year ago

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

pinarruiz commented 1 year ago

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

sladg commented 1 year ago

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

pinarruiz commented 1 year ago

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.

sladg commented 6 months ago

@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.