The current caching implementation in the project requires Next.js canary version, which is not suitable for commercial/production use.
Issues with Current Implementation
-
Canary Version Requirement:
- The
"use cache" directive and cacheTag require Next.js canary version
- Setting
dynamicIO: true only works with canary version
- Canary versions are not suitable for production/commercial applications
-
Production Concerns:
- Stability issues with canary versions
- Potential breaking changes
- Limited support for production deployments
-
Commercial Impact:
- Cannot use the boilerplate for commercial projects
- Risk of runtime errors
- Maintenance challenges
How should I implement the current cache implementation you have done in my project as I am not using the canary version instead I am using stable version of react and nextjs
The current caching implementation in the project requires Next.js canary version, which is not suitable for commercial/production use.
Issues with Current Implementation
Canary Version Requirement:
"use cache"directive andcacheTagrequire Next.js canary versiondynamicIO: trueonly works with canary versionProduction Concerns:
Commercial Impact:
How should I implement the current cache implementation you have done in my project as I am not using the canary version instead I am using stable version of
reactandnextjs