Why CF doesn't cache this worker?
Can someone help me figure out why this worker never gets cached:
https://oparse.com/api/cache
The response correctly sets
cache-control max-age=60, stale-while-revalidate=60
(you can see it in the browser inspector)
Yet from both logs ad DR flare extension I can see the response is never cached. What am I doing wrong?
The worker is:
6 Replies
Not even with cacherules?
it would seem like cache rules run before the worker

Setup like this

Cache Rules run before but cache is after
So you will see like headers get added but cache is still not done until later
Got it, I'll look at the cache apithanks