Updated on Sep 27, 2024
Aside from CDN and security services, Cloudflare also offers some optimization features that should improve the performance and speed of your website. In this part of our tutorial, we will look at them, focusing on those available to the Free plan. To access them, log into your Cloudflare account, click on your website, and then go to the Speed page from the menu on the left. You will be taken directly to Cloudflare's testing platform: the Observatory.
In the Observatory, you can test your website's performance and gain valuable insights into what needs improvement. The Observatory uses synthetic or real-user data to analyze your website and compile a report with the findings. Free users can run up to thirty tests each month and have one recurring test, which should be more than enough for any website not in active development. Unfortunately, the only testing server available to free users is in Iowa, USA. However, since the website is already connected to the Cloudflare CDN, that should not skew the results too much, if at all. After all, that is one of the major upsides of Cloudflare: helping your website load quickly for users worldwide.
You can test your website in two ways: via a synthetic load or real-user data. Synthetic testing uses servers to simulate users visiting the website. While this type of test will not replicate the sheer breadth of conditions real users can experience, it is a good baseline. Since it is synthetic, the simulated conditions are always consistent, with minimal variation between each test.
On the other hand, RUM (real-user monitoring) uses real data from actual users who visit your website. Such data will give you insights that a synthetic test cannot, as it comes from users from around the globe with different configurations, network conditions, hardware, etc. Because it requires real users to visit your website, data from such monitoring can take a while to flow in, depending on how much traffic you get.
Finally, depending on the results, Cloudflare will also offer some suggestions. The screenshot above is from a synthetic test, and you can already see that we have one recommendation: enable Rocket Loader. Depending on the results you get, Cloudflare might recommend something else. You might have also noticed that there are seven metrics upon which the test result is based. Here is what each of them means.
Now that you know what each metric does, you can more easily understand the results you get from your Observatory tests and the recommendations it offers. And those are not just general recommendations. Instead, they are things Cloudflare can directly help you with since they provide those options! They are all in the Optimization tab in the Speed section, and we will look at them next.
The Optimization tab in the Speed section contains all the ways Cloudflare can speed up your website. Fortunately, it is structured very well and all the suggestions Cloudflare has for your website are in the first tab: Recommendations. There you will find links to all the recommended options which are located among the other four tabs on the page. As a free user you do not have access to everything Cloudflare has to offer (for example, the Image Optimization tab has nothing for free users) but what is avilable are still solid ways to boost your website's performance. Let us go through each tab and discuss what each option does, even though they are not all available to free users.
As you can see Cloudflare has a lot of ways to help your website load more quickly and efficiently. If you have connected your website to Cloudflare we strongly recommend you take a look at them. Test them and see if they make a difference. A better, more efficient website is always good!