skgz
CDCloudflare Developers
•Created by skgz on 8/12/2024 in #coding-help
Hi folks, I'm trying to speed run a
Thank you! I've got some stuff rolling. One more Q: If I want it to fetch some upstream data, how do I have it load that and cache it in the background?
Eg, our build system generates a manifest that I'd like to cache locally (ideally I'd refresh this periodically).
14 replies
CDCloudflare Developers
•Created by skgz on 8/12/2024 in #coding-help
Hi folks, I'm trying to speed run a
Do I configure the upstream domain, or do I need to edit the req.url?
14 replies
CDCloudflare Developers
•Created by skgz on 8/12/2024 in #coding-help
Hi folks, I'm trying to speed run a
Where does the
fetch
call proxy to?
Eg, if I have the worker listen on the 1234
port above, I'd need to map my local stack to 1235
(for example).14 replies
CDCloudflare Developers
•Created by skgz on 8/12/2024 in #coding-help
Hi folks, I'm trying to speed run a
No, brand new to Cloudflare! We currently use Cloudfront, and I'll be testing out a switch to cloudflare if this is successful.
14 replies
CDCloudflare Developers
•Created by skgz on 8/12/2024 in #coding-help
Hi folks, I'm trying to speed run a
Where "my-local.dev" is just a localhost mapped DNS record
14 replies
CDCloudflare Developers
•Created by skgz on 8/12/2024 in #coding-help
Hi folks, I'm trying to speed run a
Thanks btw!
14 replies
CDCloudflare Developers
•Created by skgz on 8/12/2024 in #coding-help
Hi folks, I'm trying to speed run a
Suppose I have my local stack running at the url:
my-local.dev:1234
and I want the worker to handle:
my-local.dev:1234/foo & my-local.dev:1234/bar
And it should reverse proxy all other URLs. What would that config look like?
14 replies
CDCloudflare Developers
•Created by skgz on 8/12/2024 in #coding-help
Hi folks, I'm trying to speed run a
(Again, this is against my localhost stack. A prod-like env will be another beast.)
14 replies