Skip to content

Next.js Caching Implementation Issue #2

@Heet-Bhalodiya

Description

@Heet-Bhalodiya

The current caching implementation in the project requires Next.js canary version, which is not suitable for commercial/production use.

Issues with Current Implementation

  1. 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
  2. Production Concerns:

    • Stability issues with canary versions
    • Potential breaking changes
    • Limited support for production deployments
  3. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions