← Back

Statically and Incrementally Generated with Remote Data

Bitcoin Price

  • United States Dollar

    $96,489.049

  • British Pound Sterling

    £77,168.082

  • Euro

    92,931.69

  • Chinese Yuan

    ¥704,292.864

Page statically (re)generated 12/22/2024 at 9:32:06 AM


This page is statically generated at build time, using Next.js’s getStaticProps to fetch data from a remote source. It also has a revalidate interval of 60, meaning that the page will be incrementally regenerated with new data at most every 60 seconds.

This approach is good when you don't need data to be constantly fresh, but still want pages to be kept relatively up-to-date.

View this page's source on GitHub