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

    kian

    05/07/2023, 2:17 AM
    instantiated
    will be
    false
    if it that Worker already existed
  • k

    kian

    05/07/2023, 2:18 AM
    In a browser, you'll have affinity to a given metal and it'll be somewhat stable - but try it anywhere else and it'll basically be new everytime.
  • k

    kian

    05/07/2023, 2:18 AM
  • m

    miles

    05/07/2023, 3:28 AM
    Is the Cache API in workers also covered by the Developer Platform section of the ToS?
  • m

    miles

    05/07/2023, 3:34 AM
    looking to generate images in a worker and cache them
  • k

    kian

    05/07/2023, 3:34 AM
    It's supposed to be, but it's up to you if you're happy to use it without it being in the official terms explicitly.
  • m

    miles

    05/07/2023, 3:35 AM
  • a

    AghaFarokh

    05/07/2023, 5:44 AM
    Hi there
  • a

    AghaFarokh

    05/07/2023, 5:44 AM
    How can I set firewall rules for my workers? I only want to accept some uri types
  • a

    AghaFarokh

    05/07/2023, 5:45 AM
    and I don't want to set custom domain for my worker , I want to set firewall rules for my workers.dev domain
  • s

    sathoro

    05/07/2023, 7:07 AM
    What are "uri types"? I don't think you'll be able to do this on the workers.dev domain
  • h

    HardAtWork

    05/07/2023, 7:10 AM
    You cannot
  • h

    HardAtWork

    05/07/2023, 7:16 AM
    workers.dev is a free alternative to a Custom Domain. This means that you have much less control over it(for example, in terms of firewall rules)
  • d

    dkfdkdodkms

    05/07/2023, 1:19 PM
    That is helpful. I think I'm wanting that metal number. Where can I access it?
  • d

    dkfdkdodkms

    05/07/2023, 1:23 PM
    it's okay if the user doesn't connect to the same metal. it looks like the metal ids are reused, which is what i was hoping for.
  • d

    dkfdkdodkms

    05/07/2023, 1:26 PM
    also, what is the expected behavior when one exceeds the kv write limit?
  • s

    sathoro

    05/07/2023, 5:58 PM
    the worker is deleted 😦 /s
  • z

    zegevlier

    05/07/2023, 5:59 PM
    No? I'm not sure about the details but that's certainly not it
  • n

    nabz

    05/08/2023, 12:20 AM
    does workers not work with yarn pnp ? edit: trying to use workers with typescript but it won't find modules or their definitions, project uses yarn pnp
  • August 2021 Community Call Q&A Thread
    k

    kristian

    08/18/2021, 4:44 PM
    Hey all! Drop your questions for our community call here 👇
    w
    w
    +31
    • 34
    • 163
  • September 2021 Community Call Q&A thread
    a

    albert-zhao

    09/20/2021, 7:03 PM
    Send your questions/feedback here, and get them answered this Friday (9/24)!
    s
    c
    +25
    • 28
    • 89
  • r

    redux1997

    05/08/2023, 11:53 AM
    Is there any workaround for Content-Length header not included in cf workers stream?
  • h

    HardAtWork

    05/08/2023, 12:38 PM
    Do you have some way of knowing the stream length?
  • r

    redux1997

    05/08/2023, 12:39 PM
    yes
  • h

    HardAtWork

    05/08/2023, 12:39 PM
    You should just be able to add the header yourself
  • r

    redux1997

    05/08/2023, 12:39 PM
    Yeah it will be remove even if you set
  • h

    HardAtWork

    05/08/2023, 12:39 PM
    Huh
  • h

    HardAtWork

    05/08/2023, 12:39 PM
    Lemme check
  • u

    .Zero

    05/08/2023, 12:50 PM
    What do you need it for?
  • r

    redux1997

    05/08/2023, 12:50 PM
    My use case is I have files splitted on S3 bucket now I want to send whole file through worker. Currently I am calculating which parts to fetch through range header and writing each to Transform Stream and finally returning readable to Response Object. But in final response Content-Length header is excluded even after setting it.
1...244324442445...2509Latest