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

    four33

    03/31/2023, 1:47 AM
    ๐Ÿ‘€
  • f

    four33

    03/31/2023, 2:57 AM
    I'm using
    swc/jest
    for transforms so not sure how that factors in.. it claims to be a drop-in replacement
  • f

    four33

    03/31/2023, 2:57 AM
    but thanks for the link, this might be useful
  • r

    ryan.badger

    03/31/2023, 5:14 AM
    does anybody know if it's possible to invalidate caches (either the edge cache or KV) using wildcard or regex?
  • r

    ryan.badger

    03/31/2023, 5:15 AM
    E.G if I have a list of cache keys like this: domain.com/foobar/123 domain.com/foobar/456 domain.com/foobar/789 is there any way to clear all cache keys that contain foobar?
  • c

    charl

    03/31/2023, 8:56 AM
    So interesting, we removed a service binding from the worker and now it deploys
  • c

    charl

    03/31/2023, 8:58 AM
    so think there isnt actually a issue and the error is just misleading, essentially the service it was bound to was removed, however the error message doesnt state which worker it couldnt find
  • s

    Skye

    03/31/2023, 9:00 AM
    Ohh, interesting
  • c

    charl

    03/31/2023, 9:00 AM
    found it by luck while refactoring lol
  • s

    Skye

    03/31/2023, 9:00 AM
    Yeah, definitely make an issue on the wrangler repo for that, I'm sure that error can be improved
  • w

    Walshy | Pages

    03/31/2023, 9:35 AM
    Ah yes... seen that issue before
  • w

    Walshy | Pages

    03/31/2023, 9:36 AM
    We should improve that, it's confusing indeed
  • w

    Walshy | Pages

    03/31/2023, 9:38 AM
    @Vero ๐Ÿ™ can you shoot this over to the Worker team and get a ticket made (if we don't have one already)?
  • v

    Vero ๐Ÿ™

    03/31/2023, 9:39 AM
    yep, raisinggg
  • c

    charl

    03/31/2023, 9:39 AM
    https://github.com/cloudflare/workers-sdk/issues/2968
  • w

    Walshy | Pages

    03/31/2023, 9:39 AM
    We should make an internal ticket, it's in the worker service not wrangler after all But ty for raising that regardless
  • h

    HelixEvo

    03/31/2023, 1:54 PM
    Is it possible and best way to use a worker as a fallback origin within an LB for when displaying a maintenance page if all origins are down?
  • c

    chientrm

    03/31/2023, 3:01 PM
    When using
    fetch
    cache, is the body limit 512MB for free plan? (although worker runtime memory is 128MB ๐Ÿ˜ )
  • w

    Walshy | Pages

    03/31/2023, 3:02 PM
    If that's the normal limit then yes
  • w

    Walshy | Pages

    03/31/2023, 3:03 PM
    But you don't need to load the whole body into memory, you can just stream it through
  • c

    chientrm

    03/31/2023, 3:03 PM
    imma put the
    res.body
    to a
    flexsearch
    index ๐Ÿ˜—
  • c

    chientrm

    03/31/2023, 3:05 PM
    oh you mean by using stream, the worker can read cache that larger than memory? ๐Ÿค”
  • h

    HardAtWork

    03/31/2023, 3:36 PM
    By streaming a Response, you can serve multiple gigabytes to the client without issue
  • w

    Wallslide

    03/31/2023, 11:10 PM
    https://developers.cloudflare.com/workers/wrangler/configuration/#triggers The docs claim that the key should be called
    cron
    which is a
    string[]
    . But then in the example it uses a key
    crons
  • j

    James

    03/31/2023, 11:12 PM
    Good catch, it's definitely
    crons
  • j

    James

    03/31/2023, 11:13 PM
    If you want to throw in a PR, that'd be awesome! https://github.com/cloudflare/cloudflare-docs/blob/production/content/workers/wrangler/configuration.md#triggers
  • s

    sirhype

    03/31/2023, 11:44 PM
    Anyone know if Mailchannel's Worker API has limits? Like if I send 50 emails in bulk will there be a problem? Or should I spread them out a bit
  • s

    sirhype

    03/31/2023, 11:45 PM
    TL;DR I'm bulk denying applications and want to make sure I don't hit limits or get them marked as spam ๐Ÿ™‚
  • p

    Patrik

    04/01/2023, 12:16 AM
    I have been trying a few reverse/CORS proxies for almost 6 hours now, but all of them lacked some kind of feature i need. Some examples: 1. reflare ( https://github.com/xiaoyang-sde/reflare-template) : no support for dynamic upstreams / per request configured upstreams. Needed for a "cors anywhere" feature". 2. Cloudflare example from docs (https://developers.cloudflare.com/workers/examples/cors-header-proxy/), lacking iframe (if i remember correct) support, 3. A number of gists either lacking iframe support, dynamic upstreams or something similar. Can anyone suggest me the "perfect" reverse/cors proxy for workers? Primarily for cors but if it acts like a "nginx" or "caddy" reverse proxy to my sites, it would be a bonus. Thanks in advance and Have a nice night!
  • c

    chientrm

    04/01/2023, 2:30 AM
    how do I run worker in local dev with my custom domain? use tunnel?
1...237223732374...2509Latest