I'm sick of Next.js caching

Поділитися
Вставка
  • Опубліковано 19 жов 2024

КОМЕНТАРІ • 2

  • @pieterdepauw6599
    @pieterdepauw6599 6 місяців тому

    Vercel will not refetch your data every minute automatically.
    If a request is made by a user (for example, while loading a page), it will check if the cached data is older than one minute. If it is not, cached version is shown. If it is, the cached version is shown until a new version is fetched in the background.

    • @monstajoedev
      @monstajoedev  6 місяців тому

      Exactly what I said in the video. If you want to see the new data after it’s revalidated you’ll have to refresh the page