Martin Stastny
Martin Stastny
CDCloudflare Developers
Created by Martin Stastny on 3/13/2025 in #workers-help
Cache handling for static assets
Hello, I cannot find anywhere how to configure cache headers for static assets under workers. I'm planning to deploy Angular SSR app, obviously there are files like index.html or service worker which should be rather short lived and other that are immutable as build uses hash names. How can I configure this with static assets ? Also since I already dove into this question, can I somehow attach separately other files ? - Let's take an example of .well-known folder. That's something that is not necessary to be part of the build of my angular app, how can I make sure that those static files and folders are also served without having them in the angular app build. Thank you so much!
1 replies
CDCloudflare Developers
Created by Martin Stastny on 3/12/2025 in #general-help
Zone ruleset permission for API token
No description
1 replies
CDCloudflare Developers
Created by Martin Stastny on 3/7/2025 in #general-help
Custom worker domain without migrating
Hello all, I'm currently assessing migrating our SSR to CF workers, I'm extremely impressed with it's results so far, but one serious concern is domains. I'm very new to cloudflare and it's unclear how to use custom domain with Workers without migrating to CF nameservers, you can imagine we're not exactly thrilled to migrate to CF nameservers just to for PoC, let alone migrating all our dns records there in near future without any obvious benefits. All the resource and documentation seems to only show how to migrate whole domain. Can somebody please help me get on right the direction with using custom domain with Worker without migrating to CF ns ? We currently use Aws Route53 if it matters.
2 replies