AngelAvila You basically answered this yourself. Flarum and Cloudflare don't really play nice at the moment. And it's not a high priority to fix, getting the API to stable and the rest of the software to match is at the top of the list.
At this point, the best advice we can offer is to refresh your Cloudflare cache every time you make a Flarum change. It's annoying, but if you're going to use Cloudflare at this time, that's about the only thing that will make it work.