I’ve been using another CDN service for almost 4 years. CloudFlare pushed hard with the hosting provider I use to have us use CloudFlare as part of their “Bandwidth” alliance. Now after all this setup with Cloudflare, CloudFlare basically declared I’m going to have to have 4 million links updated to have brand new URLs.
The reason why? Because I cannot hide a directory.
My CDN is set up right now to pull files from cdn.example.com/file.jpg now with Cloudflare, apparently that has to become cdn.example.com/file/example/file.jpg way longer, and breaks millions of links. Problem is we hotlink a lot of our images so cdn.example.com/file.jpg is displaying perfectly fine on our old CDN. If it’s on CloudFlare it will be broken because the real location is example.com/file/example/file.jpg and the cdn just cloaks it with cdn.example.com/file.jpg
- Real URL is example.com/file/example/file.jpg
- Current CDN Origin is: example.com/file/example/
- Current CDN subdomain is: cdn.example.com
- CDN displaying image: cdn.example.com/file.jpg
- with Cloudflare: cdn.example.com/file/example/file.jpg
What I want: I want to be able to use cdn.example.com/file.jpg just fine with CloudFlare.
I am even willing to pay for a plan to get origin URL cloaking as a feature and working like how MaxCDN, BunnyCDN, CDN77, LimeLight, Akamai, CacheFly, KeyCDN, StackPath, Cachefly… CloudFlare is alone in not offering this it seems.
Makes me sad.