1
00:00:00,000 --> 00:00:02,000
In the previous sections,

2
00:00:02,000 --> 00:00:04,000
we learned about data fetching

3
00:00:04,000 --> 00:00:07,000
and we learned about data mutations.

4
00:00:07,000 --> 00:00:10,000
And what you already saw there,

5
00:00:10,000 --> 00:00:13,000
at least in certain situations,

6
00:00:13,000 --> 00:00:17,000
was that data may sometimes not update,

7
00:00:17,000 --> 00:00:22,000
or the pages that display the data may sometimes not update

8
00:00:22,000 --> 00:00:27,000
as expected because NextJS does some caching for you.

9
00:00:27,000 --> 00:00:28,000
And that's exactly

10
00:00:28,000 --> 00:00:33,000
what we'll take a closer look at in this course section

11
00:00:33,000 --> 00:00:38,000
because in this section we'll analyze how exactly

12
00:00:38,000 --> 00:00:41,000
NextJS caches data and pages,

13
00:00:41,000 --> 00:00:44,000
and what that means for you.

14
00:00:44,000 --> 00:00:47,000
You will learn how you can get NextJS

15
00:00:47,000 --> 00:00:50,000
to revalidate cached data

16
00:00:50,000 --> 00:00:53,000
and throw away cached data

17
00:00:53,000 --> 00:00:57,000
so that updated data is displayed when needed.

18
00:00:57,000 --> 00:01:00,000
And we'll also take a look at

19
00:01:00,000 --> 00:01:04,000
how you can control which data is being cached

20
00:01:04,000 --> 00:01:07,000
depending on which data source you are using.

