Cache responses from the origin server proxied through Cloudflare - gRPC connection?
Hi guys, my requests are proxied through Cloudflare using a gRPC connection to my origin server. How can I cache the response from the origin server? It seems like it's not caching by default.
4 Replies
What is the content that it is returning
They are objects, in typescript.
Is it like an API? Like the file isn't ending in .json or smth?
If so you'll need to add a page rule to cache everything
https://dash.cloudflare.com?to=/:account/:zone/rules/form
Thanks. But how about streaming data with gRPC? I'm going to try with "interact cache with worker"
It worked as expected, thanks!