sakura
sakura
Explore posts from servers
CDCloudflare Developers
Created by sakura on 9/5/2024 in #workers-help
Cron Exceeded CPU Limit
I'm using drizzle-orm/planetscale-serverless with @planetscale/database fetch setup. I'll check if there's anything unexpected going on there
6 replies
CDCloudflare Developers
Created by sakura on 9/5/2024 in #workers-help
Cron Exceeded CPU Limit
Ah I missed that, thank you
6 replies
CDCloudflare Developers
Created by sakura on 8/12/2024 in #general-help
Image Transformation not working
This is for the domain sakura.fm
6 replies
CDCloudflare Developers
Created by sakura on 8/12/2024 in #general-help
Image Transformation not working
No description
6 replies
CDCloudflare Developers
Created by sakura on 8/12/2024 in #general-help
Image Transformation not working
So I'm running the api at api.sakura.fm and transformations are enabled and there is even some bandwidth usage for resizing, but I'm not sure why this request doesnt get resized
6 replies
CDCloudflare Developers
Created by sakura on 8/12/2024 in #general-help
Image Transformation not working
Logs from a sample request without Cf-Resized header. The image size isn't resized based on the size of the returned base64 data
(log) accept-ranges: bytes
(log) access-control-allow-origin: *
(log) access-control-expose-headers: Age, Date, Content-Length, Content-Range, X-Content-Duration, X-Cache
(log) age: 1584
(log) cf-cache-status: HIT
(log) cf-ray: 8b1d90c3434e632c-ORD
(log) connection: keep-alive
(log) content-disposition: inline;filename*=UTF-8''Gilbert_Stuart_Williamstown_Portrait_of_George_Washington.jpg
(log) content-length: 32992
(log) content-type: image/jpeg
(log) date: Mon, 12 Aug 2024 04:01:40 GMT
(log) etag: 535952bc5506932a9e6c3cfc823c270b
(log) last-modified: Mon, 27 Feb 2023 19:18:38 GMT
(log) nel: { "report_to": "wm_nel", "max_age": 604800, "failure_fraction": 0.05, "success_fraction": 0.0}
(log) report-to: { "group": "wm_nel", "max_age": 604800, "endpoints": [{ "url": "https://intake-logging.wikimedia.org/v1/events?stream=w3c.reportingapi.network_error&schema_uri=/w3c/reportingapi/network_error/1.0.0" }] }
(log) server: cloudflare
(log) server-timing: cache;desc="hit-front", host;desc="cp1105"
(log) strict-transport-security: max-age=106384710; includeSubDomains; preload
(log) timing-allow-origin: *
(log) x-cache: cp1105 hit, cp1105 hit/370
(log) x-cache-status: hit-front
(log) x-client-ip: 172.70.130.239
(log) x-content-type-options: nosniff
(log) Raw image size for https://upload.wikimedia.org/wikipedia/commons/thumb/b/b6/Gilbert_Stuart_Williamstown_Portrait_of_George_Washington.jpg/440px-Gilbert_Stuart_Williamstown_Portrait_of_George_Washington.jpg: 43992
(log) accept-ranges: bytes
(log) access-control-allow-origin: *
(log) access-control-expose-headers: Age, Date, Content-Length, Content-Range, X-Content-Duration, X-Cache
(log) age: 1584
(log) cf-cache-status: HIT
(log) cf-ray: 8b1d90c3434e632c-ORD
(log) connection: keep-alive
(log) content-disposition: inline;filename*=UTF-8''Gilbert_Stuart_Williamstown_Portrait_of_George_Washington.jpg
(log) content-length: 32992
(log) content-type: image/jpeg
(log) date: Mon, 12 Aug 2024 04:01:40 GMT
(log) etag: 535952bc5506932a9e6c3cfc823c270b
(log) last-modified: Mon, 27 Feb 2023 19:18:38 GMT
(log) nel: { "report_to": "wm_nel", "max_age": 604800, "failure_fraction": 0.05, "success_fraction": 0.0}
(log) report-to: { "group": "wm_nel", "max_age": 604800, "endpoints": [{ "url": "https://intake-logging.wikimedia.org/v1/events?stream=w3c.reportingapi.network_error&schema_uri=/w3c/reportingapi/network_error/1.0.0" }] }
(log) server: cloudflare
(log) server-timing: cache;desc="hit-front", host;desc="cp1105"
(log) strict-transport-security: max-age=106384710; includeSubDomains; preload
(log) timing-allow-origin: *
(log) x-cache: cp1105 hit, cp1105 hit/370
(log) x-cache-status: hit-front
(log) x-client-ip: 172.70.130.239
(log) x-content-type-options: nosniff
(log) Raw image size for https://upload.wikimedia.org/wikipedia/commons/thumb/b/b6/Gilbert_Stuart_Williamstown_Portrait_of_George_Washington.jpg/440px-Gilbert_Stuart_Williamstown_Portrait_of_George_Washington.jpg: 43992
6 replies
CDCloudflare Developers
Created by Mian Fahad on 11/24/2023 in #pages-help
Proxy some url patterns to our own server and the rest should serve through CF pages?
Wondering this too, did you end up trying it?
3 replies
DTDrizzle Team
Created by shikishikichangchang on 11/24/2023 in #help
Transaction doesn't support Promise.all
Having this same issue, are you using mysql/planetscale? This worked fine for me with postgres
77 replies
CDCloudflare Developers
Created by sakura on 11/20/2023 in #general-help
Pricing Image Resizing Requests
10 replies
CDCloudflare Developers
Created by sakura on 11/20/2023 in #general-help
Pricing Image Resizing Requests
No description
10 replies
CDCloudflare Developers
Created by sakura on 11/20/2023 in #general-help
Pricing Image Resizing Requests
Oh got it, I guess I was confused at how the cache worked. Thanks for the explanation! I could try reducing the number of resizes used in the app to reduce cache misses then? 🤔 Is below the new image resizing product described in the blog post? Looks like it might be out?
10 replies
CDCloudflare Developers
Created by sakura on 11/20/2023 in #general-help
Pricing Image Resizing Requests
Ah yeah I think the billing should be accurate after accounting for the cache misses. Are cache misses a problem with image resizing, even if all developer end configuration to avoid cache misses is correct? It seems weird that the same image is cached sometimes and missed other times
10 replies
CDCloudflare Developers
Created by sakura on 11/20/2023 in #general-help
Pricing Image Resizing Requests
^ Seems like there's lots of cache misses at the /cdn-cgi/image/ urls
10 replies
CDCloudflare Developers
Created by shixzie on 10/12/2023 in #next-on-pages
FIXED: monologue about a chunk not found errors
No description
22 replies
CDCloudflare Developers
Created by shixzie on 10/12/2023 in #next-on-pages
FIXED: monologue about a chunk not found errors
Running into what seems like the same issue. Hosting a nextjs app on pages with a custom domain. How should we configure the cache? We're currently using the Standard Caching Level for the custom domain
22 replies
CDCloudflare Developers
Created by dhakkad on 11/3/2023 in #pages-help
Custom domain and sub-domains stuck at verifying an initializing
Wow oof
38 replies
CDCloudflare Developers
Created by dhakkad on 11/3/2023 in #pages-help
Custom domain and sub-domains stuck at verifying an initializing
Still at verifying?
38 replies
CDCloudflare Developers
Created by dhakkad on 11/3/2023 in #pages-help
Custom domain and sub-domains stuck at verifying an initializing
Are you still stuck at Verifying? We're facing this same issue right now
38 replies