DEV Community

Discussion on: I completely rewrote my personal website using Dev.to as a CMS

jameswallis profile image
James Wallis Author

Nice one, yeah I opted to use the Webhook calling Vercel Deploy hook on an article create/update rather than using Incremental Static Regeneration so that I don’t call the API when no changes have been made. The only downside with the webhook is that even if I edit and save without any changes, a deployment is kicked off.

I think in the near future (perhaps this weekend) I’ll change my website to call the API once to get all the articles, cache them, then convert the cached markdown and display - should solve my ‘429’ error! Thanks for the help

Thread Thread
prnvbirajdar profile image
Pranav Birajdar • Edited

I was just wondering why dev.to API has different route options to display same data and you guys answered it for me! I am building my website and it's my first time using getStaticProps and getStaticPaths.

Thank you for clarifying some things for me!

Thread Thread
jameswallis profile image
James Wallis Author

Happy I could help!