CloudFlare works as a reverse proxy. What this means is that once your website is part of the CloudFlare community, your web traffic is routed through CloudFlare’s global network.
CloudFlare’s network stores copy of your static files closer to your visitors, which means they are delivered more quickly than before. We cache resources such as CSS, JavaScript and images. You do not have to make any changes on your end, CloudFlare’s technology automatically decides which resources to cache based on file extension names. We do not cache dynamic content. CloudFlare also does compression for every request.
CloudFlare’s network also blocks threats and limits abusive bots before they hit your server, which means less wasted bandwidth and server resources for you.