You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that @opennextjs/cloudflare does not support cache invalidation by tag. Currently, fetch places cache data in a Cloudflare KV store (NEXT_CACHE_WORKERS_KV). However, calling tag-based invalidation through @next/cache does not seem to work as expected.
Context and Need
In environments with frequently updated or dynamic content, precise cache control is essential. Using tag-based cache invalidation would allow for targeted, granular cache management, reducing the need for global purges and improving overall performance.
Request
Please add support for cache invalidation by tag.
Expected Benefits
Improved performance by avoiding full cache purges.
Granular control over cached content for end-users.
Enhanced cache management for dynamic content projects with frequent updates.
Thank you for considering this enhancement! I’d be happy to provide additional information or discuss this feature in detail.
The text was updated successfully, but these errors were encountered:
Description
It appears that
@opennextjs/cloudflare
does not support cache invalidation by tag. Currently, fetch places cache data in a Cloudflare KV store (NEXT_CACHE_WORKERS_KV
). However, calling tag-based invalidation through @next/cache does not seem to work as expected.Context and Need
In environments with frequently updated or dynamic content, precise cache control is essential. Using tag-based cache invalidation would allow for targeted, granular cache management, reducing the need for global purges and improving overall performance.
Request
Please add support for cache invalidation by tag.
Expected Benefits
Thank you for considering this enhancement! I’d be happy to provide additional information or discuss this feature in detail.
The text was updated successfully, but these errors were encountered: