#caching with Axios

1 messages · Page 1 of 1 (latest)

thin glen
#

fetch('https://...', { next: { revalidate: 3600 } })

What is the equivalent of the above code implemented using Axios instead of fetch

spring cloakBOT
#

Hi @thin glen. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:

#

I'm sorry, but the information extracts provided do not contain any examples or instructions on how to implement the equivalent of fetch('<https://...',> { next: { revalidate: 3600 } }) using Axios. The extracts only provide information about using the fetch function in Next.js for data fetching, caching, and revalidating.

For more detailed information on how to use Axios with Next.js, you may want to refer to the Axios documentation or other reliable resources.

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: