https://discord.cloudflare.com logo
Join Discord
Powered by
# general-discussions
  • m

    marais

    04/06/2023, 2:23 AM
    and i can scale with cloudflare and not be throttled?
  • d

    dave

    04/06/2023, 2:23 AM
    yep
  • d

    dave

    04/06/2023, 2:23 AM
    yep
  • m

    marais

    04/06/2023, 2:23 AM
    seems heavy for static files.
  • m

    marais

    04/06/2023, 2:24 AM
    as in 100% immutable assets
  • d

    dave

    04/06/2023, 2:24 AM
    just visiting our website triggers like half a dozen Workers I think.
  • c

    Chaika

    04/06/2023, 2:24 AM
    You mean the worker itself? Workers themselves are crazy fast, they've got no cold starts ()
  • m

    marais

    04/06/2023, 2:24 AM
    Cloudflare Images is helping, so wondering can that also be piped through cf for saas?
  • c

    Chaika

    04/06/2023, 2:25 AM
    Doesn't look like R2 Custom Domains work with CF for SaaS
  • m

    marais

    04/06/2023, 2:25 AM
    so: - step 1, move my pages apps into cloudflare worker sites - step 2, move r2 custom domains into a worker
  • k

    kian

    04/06/2023, 2:25 AM
    Cloudflare Images is probably the most expensive part of the puzzle by an order of magnitude
  • m

    marais

    04/06/2023, 2:26 AM
    so to leverage cf for saas — everything requires a worker, from what i can see?
  • c

    Chaika

    04/06/2023, 2:28 AM
    Or a normal origin, is my understanding, a lot of the other products which work on your custom domain don't with cf for saas, like even Worker Custom Domains rather then Routes. I haven't played around with CF for SaaS too much though.
  • m

    marais

    04/06/2023, 2:33 AM
    i was really hoping to only use the supercloud
  • m

    marais

    04/06/2023, 2:34 AM
    but sounds like ill need a fly.io cluster to use cf for saas
  • m

    marais

    04/06/2023, 2:34 AM
    a shame really :sad-panda:
  • m

    marais

    04/06/2023, 2:36 AM
    but in all seriousness, can this just be a worker that proxies into my pages domain?
  • u

    Unsmart | Tech debt

    04/06/2023, 2:37 AM
    You can use workers with CF for SaaS
  • m

    marais

    04/06/2023, 2:37 AM
    and only workers is my understanding
  • u

    Unsmart | Tech debt

    04/06/2023, 2:37 AM
    No you can use other origins too
  • m

    marais

    04/06/2023, 2:37 AM
    yeah sure, but im wanting to stick to the supercloud
  • u

    Unsmart | Tech debt

    04/06/2023, 2:38 AM
    Then what's the problem with using workers?
  • m

    marais

    04/06/2023, 2:39 AM
    so something like :
    Copy code
    customer.com -> cf for saas gateway worker -> app.pages.dev
                                               |
                                               > r2.my-domain.com
                                               |
                                               > other worker (via service bindings)
  • m

    marais

    04/06/2023, 2:41 AM
    kinda pages is my "origin" with some enhancements
  • m

    marais

    04/06/2023, 2:41 AM
    but what im hearing is, pages cannot be an origin, only workers (or a yucky old school server)
  • u

    Unsmart | Tech debt

    04/06/2023, 2:42 AM
    Pages is an origin but the origin still needs to be aware of the domains and to do that it would need to be added to the pages site custom domain list
  • m

    marais

    04/06/2023, 2:51 AM
    seems like a lot of effort to tell customers to add 100's of custom things to their dns
  • m

    marais

    04/06/2023, 2:51 AM
    would have been nice just for one thing
  • m

    marais

    04/06/2023, 2:51 AM
    so please, tell me my solution?
  • m

    marais

    04/06/2023, 2:51 AM
    single worker as the origin for cf for saas — i just
    fetch
    into the downstreams?
1...395739583959...4267Latest