-
Notifications
You must be signed in to change notification settings - Fork 9
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
Cache support #105
Comments
If you plan on reusing the aws cache handler as it is i can give some advice. S3 storageFor the S3 storage ( the incremental cache and the fetch cache ) it should be the easiest and the obvious choice seems to be KV. QueueThe role of the queue is for ISR revalidation, when a page is marked as stale, the queue component will be called. For the easy one, you don't need any other component you just do exactly the same thing as in the run locally example for the For the more complex solution, i'm not sure, but it seems that durable object could be a way to go Tag cache (DynamoDB)It is only used for Really not sure about this one, it is heavily geared toward DynamoDB to take full advantage of it. I also have plan to offer an alternative way to query for the tag cache (that is closer to the next implementation in the default handler), but that means having to query for a bunch of tags for every get request These 3 are also used by the experimental cache interceptor that avoid having to reach the server to serve ISR/SSG route. |
Thank you so much for the super valuable info on those github issues/tasks. |
Cache support.
This is a big chunk of work that should be split into multiple sub-tasks when we start the work.
References:
AWS uses multiple components for the cache:
This task is about providing a cache (incremental + tag) on the cloudflare infrastructure.
We have started to explore multiple possibles solutions using:
The text was updated successfully, but these errors were encountered: