You can configure Cloudflare in front of your store. You needn't use this plugin for such logic. You need to configure DNS for such solution.
You can use Cloudflare for pictures, js and css files. You need to use this plugin for such logic. You can see the CDN url for static files in Cloudflare admin mode.