People that use cloudflare or other CDNs:

Do the edges modify the file when you serve from them? Will the hash change?

#blossom

Reply to this note

Please Login to reply.

Discussion

uhhh what? no.

Back when I used it, it didn't modify the file itself, but attached extra headers (Cache, Expiry, ...).

Connect with nostr:npub16jdfqgazrkapk0yrqm9rdxlnys7ck39c7zmdzxtxqlmmpxg04r0sd733sv on Cloudflare

nostr:note1llqa060ywee8zstsuvvv9h6t7uahk68es703lg5nmws0aemay95qtnmx28

Depends on what you mean by modify and which file type. If you're serving an executable for download and want folks to check MD5 for auth that shouldn't be impacted. If you're wondering about static files those might be if you have minify enabled or lossy compression.

Generally not, but it’s not impossible.

Some CDNs have “image optimization” services that will serve smaller versions of images in certain circumstances like low-bandwidth networks.

They do, however, modify the request and response headers. And can (gz) compress the file for transit, but the browser generally knows what to do with that so it’s transparent to the user.