Cloudflare is corrupting my files?

Asked

Viewed 25 times

0

Guys, after I’m using cloudflare service (caching and protection) my files . static zip when clients download, it comes corrupted, being that inside the server it is normal.. someone has already been through it ? how to solve without removing the cloudflare?

  • try disabling cloudflare to see if it’s doing this, it’s the best way, if it is, use an unsecured domain and put the files there

  • Edit in the cloudflare panel the extensions you want it to handle or not. Now, it may be a mime-type problem on your server, which only appeared when using CF. It may be that without CF, browsers have deduced mime by extension, but CF has understood another kind of mime. Essential to make sure your server sends . zip as application/zip, or at least application/octet-stream

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.