No, caching in Q2A is for the web page (or specifically the queries behind a web page) and CloudFlare does not cache web pages by default. There are settings in which you can cache pages in CF but it won't work in Q2A because pages are different for every user.
CloudFlare works great for caching and optimizing the other files like CSS, JavaScript and images. So you should have both.