언이
언이
CDCloudflare Developers
Created by 언이 on 10/23/2023 in #workers-help
Cannot access workers from some region.
I have workers setup with cf cache. There's no problem with accessing from Asia or Europe, but gets 403 when accessing from US. Where should I check?
5 replies
CDCloudflare Developers
Created by 언이 on 5/24/2023 in #workers-help
Worker response is not cached by default?
I have setup workers so that it gets an image from R2 and respond with it. I tried setting Cache-Control: max-age=86400. Response had it, but didn't contain any Cf-Cache-Status. Browser doesn't try to cache it either. Other similar APIs properly caches it with over 10x faster server response time. Do I have to explicitly manage cache in worker code? btw what is a proper way to set cache headers? using itty-router
7 replies