Closed
Description
Cache support.
This is a big chunk of work that should be split into multiple sub-tasks when we start the work.
References:
- https://opennext.js.org/aws/inner_workings/architecture
- https://opennext.js.org/aws/inner_workings/caching
- https://opennext.js.org/aws/inner_workings/cache_interception
- https://opennext.js.org/aws/inner_workings/components/revalidation
- https://github.com/opennextjs/opennextjs-aws/tree/main/packages/open-next/src/cache
AWS uses multiple components for the cache:
- a S3 storage for the content
- dynamoDB for the tags
- a queue to serialize & dedup access
This task is about providing a cache (incremental + tag) on the cloudflare infrastructure.
We have started to explore multiple possibles solutions using:
- KV
- Queues
- Durable Object
TODO:
Support for Cache Invalidation by Tag (#91)
--
Second thing we should tackle with this issue is errors when running i.e. the middleware example on the experimental branch with browser cache enabled. fixed in opennextjs/opennextjs-aws#683
--
Edit the main branch has basic cache support (kv + assets).
It's missing revalidation
Metadata
Metadata
Assignees
Labels
No labels