Hot answers tagged

109

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 protection to our paid users. Customer Referrals: some of our most powerful advocates are free customers who then "take CloudFlare to work." Many of our largest ...


27

CloudFlare describes Rocket Loader like this... Rocket Loader is a general-purpose asynchronous JavaScript loader coupled with a lightweight virtual browser which can safely run any JavaScript code after window.onload. Rocket Loader does a bunch of things: It ensures that all the scripts on your page will not block the content of your ...


26

I have tried this solution http://lowendtalk.com/discussion/19043/how-to-set-up-email-forwarding-for-your-domain-using-mailgun So far, it seems to work for me even though my domain is still not yet verified. (Still in the early 24-48 hours to verify the MX records etc) Basically the solution is to use mailgun and setup the email forwarding using their ...


24

Yes, it's a caching reverse proxy. "It depends". By default only things like images and CSS are cached, but you can set the cache level per zone and set Page Rules to override what is cached or should not be cached. Static HTML can be forced to be cached by a page rule, but dynamic content obviously cannot. The exception here is if you have the Business or ...


24

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". There is always a catch somewhere when anything is unlimited. With something that says unlimited, you are worse off than a service that has a specific known limit (...


17

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> Header set Access-Control-Allow-Origin "http://skin.cdn.com" </IfModule> </FilesMatch> Now your CDN will be allowed to load your resource calling ...


16

PLEASE NOTE THE EDITS & UPDATES BELOW As of me writing this (May 23 2012), SSL is supported via the CloudFront distribution URL only. Meaning, you cannot CNAME the SSL URL. Concretely, you can reference an item via SSL as: https://[distribution].cloudfront.net/picture.jpg but not: https://cdn.mydomain.com/picture.jpg where cdn.mydomain.com is a ...


14

To clarify -- yes, we offer a CNAME pointing option that is available for paid level plans (business level and above) whereby you can point CNAME records through CloudFlare while continuing to use your own DNS. That being said, we operate a global DNS network with 23 data centers, and have routinely been shown by independent groups to be #1 or #2 in terms of ...


14

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 something of that sort. In this situation the CDN server would have to contact the origin server on every request which would defeat the purpose. If your CSS and ...


13

Register a free account at mailgun.org add a mailgun MX record to your Cloudflare DNS set up a forwarding rule at mailgun Enjoy.


10

While Imgur is an image hosting service, their service is intended for the images to be commented upon, rated and shared within that site by members of their community. Their TOS (under "Stuff not to do") does state "don't upload .. advertising (and) solicitations". Even if your e-commerce site doesn't sell products or services, the TOS also specifically ...


10

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 costs. By offering a free plan to thousands of users, they can analyse more web traffic, which makes their algorithms smarter and their premium plans worth so ...


9

You can just use https://forwardemail.net. I made it completely open-source, free, encrypted, and private. There's a section on "How it works" on the website, along with a FAQ and list of features. You can even "Send Mail As" using Gmail.


9

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


8

No. This will not make your site faster and is unnecessary. Multiple HTTP calls slow down your website, not speed it up. To make your CSS load as fast as possible: Minify it Compress it using gzip (mod_deflate) Serve it from a CDN Once the browser has the file it will cache it and no more requests will need to be made which is as fast as it gets.


8

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 services) is provided free of charge, but money (premium) is charged for proprietary features, functionality, or virtual goods. It's a common approach to get ...


8

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 scrapes your site for your meta title, description and image. My guess is that if Facebook is scraping your site 11,000 times in 15 minutes then I think the most ...


7

Justin Dorfman manages http://www.bootstrapcdn.com/ which has version 2.3.1 (at the time of editing) Complete CSS (Responsive, With Icons): //netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/css/bootstrap-combined.min.css Complete JavaScript //netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/js/bootstrap.min.js GitHub Repo https://github.com/netdna/...


7

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-agent: Googlebot-Image Disallow: / User-agent: * Disallow: /homepage Disallow: /uncategorized Disallow: /page Disallow: /category Disallow: /author Disallow: /feed ...


7

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 configuration. Typically a site with its own ad-network shouldn't be a problem unless the site is used by hundreds of thousands of people, then you may have people ...


6

It certainly used to be possible, indeed Stack Exchange themselves use Imgur for hosting all user uploaded images: New Image Upload Support And some more recent comments on why they are still using Imgur over Amazon S3. Note though that you will need a Pro account with them to ensure that your images persist. However, this isn't really a CDN in the ...


6

will browsers recognize individual files as being the same as pre-cached ones, if they are served from different subdomains? No. Two identical files served from different locations are different files as far as the browser (cache) is concerned. The URL is the key by which the file is cached by the browser. As media1, media2 etc all serve the same files, ...


6

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 CloudFlare for this products.xyzmedia.co.uk subdomain. We do not permit CloudFlare to be used only for static file delivery. You will need to have xyzmedia.co....


6

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 your site will be improved and that's a SEO ranking factor.


6

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 servers and their data centers. The goal is to provide high availability and performance by distributing the service spatially relative to end users But while the ...


5

The s-maxage header is intended for proxies, while max-age is intended for regular users. A typical end user (not using a proxy) would have the file cached for a year. The same should be the case for someone using a proxy as well, since the proxy will likely send the file unmodified, i.e. including the max-age header. But the proxy itself would only cache ...


5

The main reason are cookies. What Niels suggested in his answer is only a minor consequence, and not the real reason. Without cookies, the request size is smaller, so it is saving some bandwidth. However, the real difference comes from browser cache. Since content is static (i.e. does not change), browsers can cache it on local hard disk and avoid loading ...


5

Google has said that it sees "whatever.example.com" as a different site than "www.example.com" for instance. So, it would make sense that for SEO purposes, hosting the pictures on a sub domain would be a bad idea. However, Google at the same time actively promote the use of CDN's for performance purposes. Google does not consist of just computers, but ...


5

The short answer is that Cloudflare is safe. Cloudflare is essentially nothing more than a content delivery network (CDN). The theory behind it is that they will cache copies of your website to their servers, which are spread across different locations. When a visitor visits your site the server that is closest to them is chosen and the connection has less ...


5

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 your website, advertising, avatars, or anything else that turns us into your content delivery network. If you do – and we will be the judge – or if you do ...


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