cryptomania | skiff
cryptomania | skiff
CDCloudflare Developers
Created by cryptomania | skiff on 10/10/2023 in #pages-help
Pages and Strong ETags
You can check this by curl’ing across your pages app domain and the main app domain. We can’t figure out why the CDN is downgrading to weak ETag even after following the support article for settings that force weak ETAg
36 replies
CDCloudflare Developers
Created by cryptomania | skiff on 10/10/2023 in #pages-help
Pages and Strong ETags
Just an update for future viewers. The pages app itself generates strong ETags. The CDN side of things is what was downgrading from a strong ETag to a weak ETag
36 replies
CDCloudflare Developers
Created by cryptomania | skiff on 10/10/2023 in #pages-help
Pages and Strong ETags
seems rather odd that SRI isn't well supported
36 replies
CDCloudflare Developers
Created by cryptomania | skiff on 10/10/2023 in #pages-help
Pages and Strong ETags
we are on an enterprise plan. i'll see if we can swing something with the customer success team or with support
36 replies
CDCloudflare Developers
Created by cryptomania | skiff on 10/10/2023 in #pages-help
Pages and Strong ETags
It's hundreds of JS chunks
36 replies
CDCloudflare Developers
Created by cryptomania | skiff on 10/10/2023 in #pages-help
Pages and Strong ETags
oh damn we are going to get capped on usage so quickly
36 replies
CDCloudflare Developers
Created by cryptomania | skiff on 10/10/2023 in #pages-help
Pages and Strong ETags
yea so CI would have to calculate the etag ahead of time (could just use the same digest from SRI) and then upload the script to this function
36 replies
CDCloudflare Developers
Created by cryptomania | skiff on 10/10/2023 in #pages-help
Pages and Strong ETags
36 replies
CDCloudflare Developers
Created by cryptomania | skiff on 10/10/2023 in #pages-help
Pages and Strong ETags
but wouldn't the pages worker run before any other custom worker?
36 replies
CDCloudflare Developers
Created by cryptomania | skiff on 10/10/2023 in #pages-help
Pages and Strong ETags
i just want cf pages to generate strong ETags....
36 replies
CDCloudflare Developers
Created by cryptomania | skiff on 10/10/2023 in #pages-help
Pages and Strong ETags
yup exactly
36 replies
CDCloudflare Developers
Created by cryptomania | skiff on 10/10/2023 in #pages-help
Pages and Strong ETags
No description
36 replies
CDCloudflare Developers
Created by cryptomania | skiff on 10/10/2023 in #pages-help
Pages and Strong ETags
No description
36 replies
CDCloudflare Developers
Created by cryptomania | skiff on 10/10/2023 in #pages-help
Pages and Strong ETags
But we aren't generating any ETags on our end? It seems like Pages is doing it. I can try and see if there was some button in the Cloudflare dashboard that we pushed to turn on weak etags
36 replies
CDCloudflare Developers
Created by cryptomania | skiff on 10/10/2023 in #pages-help
Pages and Strong ETags
we use the integrity attribute in our JS chunks so the hash sometimes doesn't match up which causes issues. (SRI needs byte for byte matching but the actual JS that is loaded is some cached version that matches a weak etag but fails on the actual hashing)
36 replies
CDCloudflare Developers
Created by cryptomania | skiff on 10/10/2023 in #pages-help
Pages and Strong ETags
We generally have seen weak etags completely break our app
36 replies
CDCloudflare Developers
Created by cryptomania | skiff on 7/5/2023 in #pages-help
Getting strange SSL errors when connecting to Cloudflare Pages site
No worries! Thank you for looking into it!
5 replies
CDCloudflare Developers
Created by cryptomania | skiff on 7/5/2023 in #pages-help
Getting strange SSL errors when connecting to Cloudflare Pages site
@Walshy | Pages if you have a second to take a look. We're getting increasing user reports from our discord where users are unable to load our app that is served through Pages
5 replies