kale-stew / climb-log

Hiking blog and climbing log. Built with Next.js, data sourced from a Notion.so database.
https://kylies.photos
11 stars 0 forks source link

♻️ Incremental Static Regeneration On Climb Log #62

Closed Kyle-Ski closed 2 years ago

Kyle-Ski commented 2 years ago

Adding Incremental Static Regeneration on the Climb Log, this will re-render the page every minute without re-rendering the entire site.

This might help out with the images in the climb log popover. If I'm thinking about this right, the climb log will make a new request to the Notion API every minute and get the updated temp URL for the cover image? We can definitely change the minute to however long it takes a URL to expire (looks like maybe 3hrs?).

vercel[bot] commented 2 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/kale-stew/climb-log/GCdKEHcYofD3j7ReH4GSPTmpLyyz
✅ Preview: https://climb-log-git-task-isr-on-climb-log-kale-stew.vercel.app

Kyle-Ski commented 2 years ago

Did not work on the deployed link