Skip to content

Docs: confusing cacheTag & cacheLife requirements #79087

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Jordaneisenburger opened this issue May 12, 2025 · 0 comments · May be fixed by #79202
Open

Docs: confusing cacheTag & cacheLife requirements #79087

Jordaneisenburger opened this issue May 12, 2025 · 0 comments · May be fixed by #79202

Comments

@Jordaneisenburger
Copy link

Jordaneisenburger commented May 12, 2025

What is the documentation issue?

The docs state that "To use cacheLife, enable the dynamicIO flag in your next.config.js file:" but when I use cacheTag() & cacheLife() without the experimental dynamicIO flag enabled I get no warnings in my console and the two functions work perfectly fine.

Is there any context that might help us understand?

I'm running on 15.4.0-canary.23 so it could be that the public docs are out of sync but after checking the docs in the latest canary branch it also states dynamicIO needs to be enabled. https://github.com/vercel/next.js/blob/canary/docs/01-app/05-api-reference/04-functions/cacheLife.mdx

Does the docs page already exist? Please link to it.

https://nextjs.org/docs/app/api-reference/config/next-config-js/dynamicIO

No response

@akash-dabhi-qed akash-dabhi-qed linked a pull request May 14, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant