11 Replies
S.
S.•12mo ago
mmh, thanks, will look into it
Walshy
WalshyOP•12mo ago
indeed, shouldn't impact reconnecting though "my infra seems to be broken" seems pretty "can not connect again"
az
az•12mo ago
can i connect to any cloudflare ip address and get routed to a page as long as i set the host header to a correct one? not just an ip address returned by the dns
Erisa
Erisa•12mo ago
in theory yes, but you shouldnt rely on that as a longterm solution because that behaviour isnt guarenteed and could change
az
az•12mo ago
thanks if in a worker im trying to see if a string (hostname) is in a very large set of strings, is there a way to efficiently do that without building a set every request? ie i dont want to be doing
const data = new Set(myArray)

if (data.contains(host) {
...
}
const data = new Set(myArray)

if (data.contains(host) {
...
}
but rather something like
const data = getMagicalPrebuiltObject()

if (data.contains(host)) {
...
}
const data = getMagicalPrebuiltObject()

if (data.contains(host)) {
...
}
im thinking maybe a prebuilt bloomfilter? ig also a way to serialise a set would work too
Unknown User
Unknown User•12mo ago
Message Not Public
Sign In & Join Server To View
Adrien
Adrien•12mo ago
Hello Does Cloudflare Pages have unlimited bandwidth on the free plan?
Flare
Flare•12mo ago
Please do not post your question in multiple channels per the rules at #😃welcome-and-rules. It creates confusion for people trying to help you and doesn't get your issue or question solved any faster.
Kuro
Kuro•12mo ago
it's been few days warp is not connecting, is it a problem from my end?
No description
No description
Flare
Flare•12mo ago
Please do not post your question in multiple channels per the rules at #😃welcome-and-rules. It creates confusion for people trying to help you and doesn't get your issue or question solved any faster.
az
az•12mo ago
i ended up going with a prebuilt bloomfilter. but its taking about 7ms cpu time could wasm be faster considering the import time?

Did you find this page helpful?