← Back

Statically and Incrementally Generated with Remote Data

Bitcoin Price

  • United States Dollar

    $96,005.877

  • British Pound Sterling

    £77,101.071

  • Euro

    91,789.011

  • Chinese Yuan

    ¥697,645.904

Page statically (re)generated 2/8/2025 at 10:16:38 PM


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