cloudflare doesn't prevent ddos either
unless you put those stupid captcha pages in front
but hosting static files is the easiest thing
there are dozens of CDNs that can host that for you, and many are free too, like github, netlify, firebase pages and others