Cache external requests
Hey folks!
I have a SvelteKit app deployed through Pages (so my server endpoints are counted as Workers from a CF perspective).
In my page server load function (
And in the called endpoint:
My goal is to cache that request to /api/stuff/recents at the edge level, so I setup the attached rule.
My problem is it actually doesn't cache the request response. Maybe you have an hint?
I have a SvelteKit app deployed through Pages (so my server endpoints are counted as Workers from a CF perspective).
In my page server load function (
+page.server.ts) I have this:And in the called endpoint:
My goal is to cache that request to /api/stuff/recents at the edge level, so I setup the attached rule.
My problem is it actually doesn't cache the request response. Maybe you have an hint?
