Reputation: 7829
I am trying to determine if the Data Cache is being used for various fetch()
requests in a code base.
I followed the docs and turned on logging.
I see the following log-output in the console after a fetch()
:
get be5c04a2d80c0564d8a8e9b3a6ba6a0e523ef37d18c1ffa485955424c354460d [ 'contentful-all', 'custom-revalidation-tag-one' ] FETCH false
get 987727a7bea1a67eac2d6a061a3b02c7bb2cbc29ce11537043a95123642f647b [ 'contentful-all', 'custom-revalidation-tag-two' ] FETCH true
Are the above logs somehow telling us whether the Data Cache was used? What does that last true|false
mean?
If that does not tell us if the Data Cache was used, is there any other way to check that, in development?
Upvotes: 0
Views: 26