I'm currently trying out the Cloudflare CDN (free plan), but I didn't notice much in website performance. My server was having "server load" problems and it did stop, but It seems the website's performance isn't much better.

I believe It's because of my Magento's CDN configuration:

So, which URL's should I use for static files and media files? I can't find information about that on Cloudfare's website and I don't know if I'm really retrieving the static files from there or elsewhere. I use Cloudflare's extension for Magento.

Magento 2 and Cloudflare CDN

1 Answer 1


You don't need to configure a different URL to media and static files; Since Cloudflare manages your domain, it'll deliver the static content using their CDN and get the dynamic content from your server, all of it through your domain.

Reference: https://www.cloudflare.com/learning/cdn/caching-static-and-dynamic-content/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.