https://discord.cloudflare.com logo
Join Discord
Powered by
# functions
  • p

    Plotzes

    04/29/2023, 2:22 PM
    do requests made to
    env.ASSETS.fetch(...)
    go through middleware or other functions? Or will it go straight to the asset server?
  • k

    kian

    04/29/2023, 2:23 PM
    I think next() will do middleware, ASSETS.fetch won’t
  • s

    Skye

    04/29/2023, 2:24 PM
    that's right
  • p

    Plotzes

    04/29/2023, 2:28 PM
    ah just as i expected, thanks for the confirmation! 🙂 👍
  • n

    nick_jordan

    04/29/2023, 5:03 PM
    When using the Unbound usage model w/Functions, what are the limits in both CPU and Wall Clock time? It seems like there is a 30-second limit for CPU time, and Wall Clock (duration) is unlimited. Is that right?
  • h

    HardAtWork

    04/29/2023, 5:14 PM
    Theoretically, yes. Though note that after 30 seconds of Wall Clock, there is a higher chance of eviction. This occurs on both Bundled and Unbound
  • n

    nick_jordan

    04/29/2023, 5:31 PM
    Is there a specific HTTP code that comes back when eviction happens?
  • z

    zszszsz

    04/29/2023, 6:07 PM
    Is there an option to pay for no eviction
  • w

    Walshy | Pages

    04/29/2023, 6:16 PM
    No but the chance of eviction is very very slim, it'll only happen if the machine is restarted or a new runtime update is rolled out to that metal
  • h

    HardAtWork

    04/29/2023, 6:18 PM
    Nope, when it happens, everything stops. You don’t get a warning
  • u

    Unsmart | Tech debt

    04/29/2023, 7:48 PM
    You'll most likely be able to process any request you have without getting evicted... I have a request right now that has been running for 1.5 hours and still going just fine without being evicted 🤷
  • z

    zszszsz

    04/29/2023, 7:48 PM
    Cool
  • z

    zszszsz

    04/29/2023, 7:49 PM
    Ok I guess that is the force majeure
  • h

    HardAtWork

    04/29/2023, 8:39 PM
    At the moment, other than extremely high load conditions, you should only be evicted when there is a machine fault(unavoidable) or when the Workers Runtime is updated
  • z

    zszszsz

    04/29/2023, 9:39 PM
    What can be the reason if I just direct upload to create a new project and it says
    Could not resolve host: <name>.pages.dev
  • z

    zszszsz

    04/29/2023, 9:40 PM
    And now it is
    curl: (35) LibreSSL/3.3.6: error:1404B410:SSL routines:ST_CONNECT:sslv3 alert handshake failure
  • z

    zszszsz

    04/29/2023, 9:40 PM
    so it is still setting up
  • j

    James

    04/29/2023, 9:43 PM
    It can take a few minutes for a new pages.dev to become active as the SSL cert, etc. is provisioned, yep 🙂
  • c

    Crazy Rabbit

    05/01/2023, 12:59 PM
    let say that each customer get their own main page: domain.com/creator/username it is possible for them to use like CNAME record and redirect their own sub domain like test.domain2.net to domain.com/creator/username ?
  • c

    Crazy Rabbit

    05/01/2023, 12:59 PM
    Cloudflare would probably need to issue cert for their domain too right?
  • h

    HardAtWork

    05/01/2023, 1:01 PM
    Yes
  • c

    Crazy Rabbit

    05/01/2023, 1:04 PM
    How?
  • c

    Crazy Rabbit

    05/01/2023, 1:05 PM
    I should probably use the API to whitelist this custom domain on Cloudflare Page?
  • c

    Crazy Rabbit

    05/01/2023, 1:18 PM
    Would be kinda tricky as I would need to replace domain (CNAME) and also the path (probably Cloudflare Redirect or some other product)
  • h

    HardAtWork

    05/01/2023, 2:14 PM
    If it is just a redirect, you could just make it a single Worker + CF for SaaS
  • c

    Crazy Rabbit

    05/01/2023, 2:15 PM
    domain.com/creator/username shouldn't be visible.
  • c

    Crazy Rabbit

    05/01/2023, 2:15 PM
    so to also hide the branding
  • c

    Crazy Rabbit

    05/01/2023, 2:16 PM
    So
    test.domain2.net
    to be "redirected" to
    domain.com/creator/username
    , but users would still access the website and see the URL as
    test.domain2.net
  • c

    Crazy Rabbit

    05/01/2023, 2:18 PM
    Basically some providers offers custom domains to customers.
  • c

    Crazy Rabbit

    05/01/2023, 2:19 PM
    and only thing they need to do is create CNAME record
1...381382383...392Latest