Hot answers tagged

155 votes

How can CloudFlare offer a free CDN with unlimited bandwidth?

Five reasons we offer a free version of the service and always will: Data: we see a much broader range of attacks than we would if we only had our paid users. This allows us to offer better ...
user avatar
30 votes
Accepted

How can CloudFlare offer a free CDN with unlimited bandwidth?

It does not offer unlimited bandwidth. Unlimited bandwidth does not exist and is an impossibility. It is only a marketing term that states "the limit is higher than most users require". ...
user avatar
18 votes
Accepted

Font blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin'

Change your htaccess file code on your website root directory (i.e. Your public_html ".htaccess" file) <FilesMatch "\.(ttf|otf|eot|woff|woff2)$"> <IfModule mod_headers.c> ...
user avatar
18 votes
Accepted

Local files vs. CDN

The CDN should be used for all static files (.css/.js/images). Sometimes however javascript or css files can have dynamic aspect to them such as that it would include a unique user string or ...
user avatar
  • 2,335
13 votes

How to use Cloudflare and Namecheap email forwarding at the same time?

Register a free account at mailgun.org add a mailgun MX record to your Cloudflare DNS set up a forwarding rule at mailgun Enjoy.
user avatar
  • 251
12 votes

How can CloudFlare offer a free CDN with unlimited bandwidth?

I'm a long time user of Cloudflare. I have many sites on their free plan and a few on their Pro plans. They can offer this free plan because they earn enough from their Premium plans to cover the ...
user avatar
9 votes

How can CloudFlare offer a free CDN with unlimited bandwidth?

There's another aspect that should be mentioned here: Freemium is a pricing strategy by which a product or service (typically a digital offering or application such as software, media, games or web ...
user avatar
9 votes
Accepted

Can CloudFlare use different origins based on path pattern?

This is something that they recently started offering as an enterprise feature see: https://support.cloudflare.com/hc/en-us/articles/206190798-Using-Resolve-Override-in-Page-Rules
user avatar
  • 206
8 votes

Can I route only a subdomain through CloudFlare?

CloudFlare don't allow this in their Terms of Use. I received the following email from CloudFlare when I attempted this on an image-only subdomain once: Also note here -- you seem to only be using ...
user avatar
  • 5,794
8 votes

Facebook crawler with no user agent spamming our site in possible DoS attack

Sources say that Facebook/Externalhit does not respect crawl-delay in robots.txt because Facebook doesn't use a crawler, it uses a scraper. Whenever one of your pages is shared on Facebook, it ...
user avatar
  • 4,720
7 votes

Google doesn't crawl CDN files

So, the solution seems to be that Amazon cloudfront also evaluates my robots.txt and somehow uses different syntax rules from google. The working version of my robots.txt is the following: User-...
user avatar
  • 191
7 votes
Accepted

Can I route only a subdomain through CloudFlare?

Yes: add the root domain, then you can select which subdomains to route through CloudFlare in the DNS tab, at which point you can disable CloudFlare on the domain and enable it on the subdomains by ...
user avatar
  • 2,727
7 votes

Can we serve our sites images with an ad server and not have the images blocked by ad blockers?

The intelligence of the blocker is down to whatever extension or software the user is using. Some will simply block adsense, while others may be configured to read a white list, or black list ...
user avatar
  • 32.6k
7 votes
Accepted

Will CDN affect my SEO?

Indexed images are associated with the domain that host the HTML where they are shown, so, no worries about the CDN and your domain. Of course, it will affect SEO in a good way, cause the speed of ...
user avatar
  • 3,787
6 votes

Can I use imgur as a CDN?

It looks like they clarified their TOS to specifically shield them from being used as a CDN (emphasis mine): Also, don't use Imgur to host image libraries you link to from elsewhere, content for ...
user avatar
  • 161
6 votes

How can CloudFlare offer a free CDN with unlimited bandwidth?

CloudFlare is a caching proxy so egress (out) typically exceeds ingress (in), usually by around 4-5x. Our bandwidth bill is therefore calculated on egress so we don't pay for ingress. This is part of ...
user avatar
6 votes

Using the Internet Archive’s Wayback Machine as a CDN

No. In fact the Internet Archive is not a CDN. Following your own link we see A content delivery network, or content distribution network (CDN), is a geographically distributed network of proxy ...
user avatar
  • 161
6 votes
Accepted

Why should I use CDN when 97% of my traffic is from one country?

The value of a CDN is use case dependent. As others have mentioned, a CDN can have benefits, but its not magic. In some edge cases it can actually slow things down - particularly if your server and ...
user avatar
  • 5,935
5 votes
Accepted

Tumblr disabled custom domain for using CloudFlare

We can actually manage the DNS for the record pointing to Tumblr. You can't, however, have our proxy (orange cloud) turned on for the record & it should be grey (direct).
user avatar
5 votes

Local files vs. CDN

Using a CDN vs traditional web hosting for delivering your static files such as CSS, JS, and images is commonly preferred. This is because once your files are cached on the CDN's edge servers, your ...
user avatar
  • 186
5 votes
Accepted

Can I migrate the hosting of my CDN configured site?

If I understand this correctly you want to only change your hosting, and keep your current settings via Cloudflare. If that is the case... All you need to do is, on your CloudFlare DNS Zone File ...
user avatar
5 votes

Parallelize downloads with one server by using apache

Yes, this is a perfectly valid solution to the problem. It also covers the "use a cookieless domain for static assets" speed recommendation, if setup correctly. This won't add additional server load, ...
user avatar
  • 4,344
5 votes
Accepted

Why pay for a distributed DNS service when ISPs cache lookups?

You shouldn't host DNS in your basement. At a minimum you should have 3 DNS servers located in different geographic locations on separate networks. Otherwise DNS is a single point of failure. Your ...
user avatar
5 votes

Is a media CDN bad for image SEO?

Using a CDN such as that provided by AWS, is a great way to deliver your images with optimum speed. If you use Google PageSpeed Insights they often recommend this type of tactic. This is great for ...
user avatar
5 votes

Will website with frequently updated server-generated content benefit from CDN?

Most likely (although its not possible to quantify this benefit with the information provided - Im not suggesting the benefit is worth the cost, just that its still there.) One of the things a CDN ...
user avatar
  • 5,935
4 votes

Two different websites with same product images

This is easier than you think. You can host the images on one of the two websites and simply use the full URL of the images to load them. For example, if you host the images on website A, you would ...
user avatar
  • 85.8k
4 votes

Do I set a DNS A Record for the new GitHub Pages to use their CDN?

According to https://help.github.com/articles/tips-for-configuring-an-a-record-with-your-dns-provider/#configuring-a-www-subdomain If you configure both an apex domain (e.g. example.com) and a ...
user avatar
  • 141
4 votes

How to use Cloudflare and Namecheap email forwarding at the same time?

You can also sign up with Zoho Mail, which is free. It's a full mail service provider like Google Apps and includes a mail forwarding service as well. However, if all you need is forwarding, I find ...
user avatar
  • 151
4 votes
Accepted

Receiving error 500 for WordPress when using CloudFlare as a CDN

As covered here, create a Page Rule for URLs containing the wp-admin and wp-login directories to prevent CloudFlare from caching them. Also, disable Rocket Loader, as it may inadvertently break ...
user avatar
  • 15k

Only top scored, non community-wiki answers of a minimum length are eligible