Why do you need WordPress’s CDN

Speed \u200b\u200band reliability is an indispensable priority of any website: 47% of consumers want to online The store is loaded in less than two seconds, and the loading time will be reduced by 11% of the page views. In addition, as search engines pay more and more attention to loading time, to maximize the speed of websites is essential for search engine optimization (SEO).

Although there are many ways to increase the speed of the website, one of the most effective solutions is to use the content delivery network (CDN). By integrated CDN, you can reduce the pressure of the server and enable the visitors to load the page on your website faster.

In this article, we will explain what CDN is and discuss its main advantages. We will also show you how to use Jetpack’s WordPress CDN. let’s start!

What is CDN?

Most network hosts provide page requests to all visitors from a single server, regardless of their location. If your website’s server is located in North America and visitors from Australia trying to access it, all data needs to be long at a long distance to reach them. The longer the distance, the longer your website is loaded.

CDN is a server network that is strategically distributed around the world. It can reduce the pressure of the server by ing assets (images, videos and CSS) from your website and providing services through its own network.

If your usual hosting company’s server is in San Francisco, and users visit your website in London, CDN will load your website from the nearest server (maybe in London itself) instead of loading CDN from the United States all the way all the way to CDN all the way from the United States. Provide longer normal operation time, media optimization and faster asset delivery.

There are many benefits to using CDN, but it is worth noting that in most cases, CDN is not free. Some platforms provide a limited free CDN function, but if you want to access all its features, you need to pay.

Four benefits used by combining CDN and WordPress

Almost any website can benefit from the integrated CDN, whether you use WordPress. The following are the four main benefits of using CDN:

1. Fast page

Page speed is one of the biggest indicators to measure the quality of user experience provided by the website. If the page takes three seconds or longer to load, you will start losing a lot of visitors.

Today, most users can access relatively high -speed Internet connections. This means that their devices can load complex pages within a few seconds. If the page is loaded for too long, the problem is usually not on the visitors. Instead, it is located in your server or website settings.

When the visitor tries to visit your website, the server may take a long time to provide data. There are several reasons:

    Visitor and your server and your server The distance between the position is far away.

  1. The longer the distance between the user and your server, the longer your page loading time.
  2. The server was flooded.

  3. If your website attracts too many visitors at the same time, the server may start to discard the request or display the data for too long.
  4. Your webpage has too many unbound media assets.

  5. High -quality images and videos may have huge file size, so a large -scale page may take longer to load.
  6. Use CDN to solve all three problems in one fell swoop. Through CDN, you can access the global data center network of your website. When the visitor tries to access your website, CDN will intercept the request and re -routing it to the nearest data center.

After doing this, the CDN reduces the distance that the data reaches the user must pass. Most CDNs can also cache and optimize media assets, which means that the page loading time is shorter.

Finally, the CDN data center is optimized to process massive flow. If you are using a sharing host plan, even if you get a moderate traffic, the server response time will slow down.

If you start to encounter website performance problems, you may need to consider upgrading to a better virtual host or plan. By adding the CDN to the combination, your website will be more ready to handle the increased traffic while providing a better user experience.

2. Built -in optimization of media files

Many CDNs automatically optimize the media assets of your website before cached them. If you have used the WordPress media optimization plug -in, you may be familiar with the process:

使用 WordPress 中的插件涂抹图像 Image compression tools obtain graphics and use \”damage\” or \”non -destructive\” methods to compress them. No loss of compression retains the quality of all images, but you usually save less in terms of file size. On the other hand, the damage compression will reduce the quality of the image to a certain extent, but the size of the file will be much smaller.

Ideally, you should optimize each picture uploaded to each picture of WordPress. Modern websites tend to use a large number of images. If these files are high -quality and high -resolution, they can significantly increase your page loading time.

Since 2017, the average page size has increased from about 1.3 MB to 2.1 MB. This is mainly due to the increase in the complexity of modern websites

and

using more media files:

Source:

HTTP archive [123 显示平均页面大小的图表 ]
The more media files you use on the website, the more you can benefit from the CDN. Even so, if you want to save video files on the website, it is best to host them on the dedicated platform. If you use Jetpack CDN, you can access the non -advertising video custody service so that you can provide media files from our server. 3. Defense refusal service attack (DDOS)

Rejecting service attacks (DDOS) refers to the cooperative robot network that bombard the server with a large number of requests at the same time. From 2020 to 2021, these attacks increased by 55%. Some surveys show that as many as 35% of online companies have encountered these attacks at a certain moment.

There are many ways to alleviate DDOS attacks. Some network hosts are active in terms of security and automatically prevent suspicious IP addresses or try to break into your website. Sadly, a major DDOS attack is usually enough to paralyze strong special servers. If your website is attacked, the visitors may not be able to access it. At best, they will experience longer loading time. In addition to waiting to attack or contact your network host to check whether they can help, you are almost powerless.

By using CDN, you can add a layer of security between the rest of the web and your site. CDN aims to withstand a large amount of traffic. Just integrate CDN, you are already protecting your websiteA big step.

4. Increase the normal operation time of the website

Most of the reputable network hosts provide nearly perfect normal operation time. The normal operation time data of network hosting services shows that its server is available at 99.9%, which is not uncommon for this situation.

If you encounter a bad custody service, stop time stop time It may be more frequent. One of the many advantages using CDN is that the service will cache your website’s copy on its entire data center. If your server is suddenly unusable, due to CDN, visitors can still access these copies of your website. To some extent, CDN can cooperate with you and the network host to restart your website and run as backup when running. If you encounter WordPress errors from users from accessing your website, this is also applicable. Thanks to the CDN, you can check errors according to your progress without losing traffic.

Who should use the content to deliver the network? Pressable 承诺 100% 正常运行时间

1. WordPress website with global audience

Most of your traffic may come from the United States, so it is meaningful to host your website there. If a large part of the traffic comes from Europe, Asia or Oceania, WordPress CDN will shorten the loading time by providing website assets from the server where each person is approaching each person. In this way, each visitor can get an excellent user experience, no matter where they are.

In most cases, your audience will not be limited to one country/region. Quickly view your analysis allows you to understand the location of the visitors in depth. Even if only a small number of audiences are not \”local\”, you can still get a lot of benefits when using CDN. Users near your server position will still experience better loading time.

2. Website with a large number of media files

Jetpack provides effective methods for optimizing the website, but its CDN may be just the star of the show. That’s because it can help you cache the largest file, including images. 网站访问者地图

CDN not only shortens the loading time by providing assets from distributed servers, but also automatically adjusts the image size of the mobile device. Mobile phones and tablets are particularly prone to bad or unreliable Internet connections, so quickly load and excelThe image of the image is essential for a good user experience.

Jetpack also includes delay loading. This means that it only loads the image on the screen, and other images are loaded when you roll down the page. This can greatly reduce the time loading time of the initial page.

3. Website encountering a peak of traffic This is the company’s company’s every company’s company’s company Dream -you interview on the main TV network, the top celebrity tweet about your brand, or the video spread you created. However, if your website cannot handle the sudden flow of flow, it may load slowly or completely collapse, thereby turning potential new fans or reducing your sales costs. Small enterprises are particularly vulnerable to attack, because personal customers leave a temporary damaged website may harm your bottom line more seriously than a mature company. CDN requests a balance site in its entire distributed server network. This allows you to accommodate more visitors at a time to disperse them to multiple positions.

Due to the more evil reasons, your website may also have a sudden peak of traffic: DDOS attack. CDN acts as a DDOS protection, so it is the key part of any good website security function.

What is the cost of CDN?

The cost varies from suppliers, but usually CDN is charged for each GB data, and the pricing of each region is different (for example, the cost of Asia may be higher than North America). Many CDNs also charge you monthly fees. Let you understand that for small websites with small traffic, the average monthly CDN cost starts at about $ 20. As your website increases, these costs will increase. If you run a popular website, CDN spends hundreds or even thousands of dollars a month. One of the most common reasons for some users who do not invest in CDN is that their cost may be high. In many cases, CDN may be more expensive than the hosting plan, but it provides a lot of benefits. These areas from faster loading time to improved site security.

With Jetpack, you don’t have to worry about complex pricing structures. Jetpack’s WordPress CDN can be used for any WordPress website. All you have to do is install the plug -in and connect to your account (we will show you how to operate in one minute).

Unlike other free CDN, Jetpack does not provide limited functions. CDN can cache every page on your website to help you deliver media files faster and protect your website from violent attacks.

What makes Jetpack the best CDN? Jetpack is a WordPress plug -in providing free CDN. You will benefit from the optimization delivery of photos and static files without worrying about creating a push -pull area, redirecting assets or setting up any other technical steps required for most other CDNs. Although the Jetpack CDN is free, it surpasses many paid competitors in terms of function and ease of use. The following is the five reasons for Jetpack to become the best WordPress CDN:

1. Easy settings

Traditionally, integrating CDN and WordPress may be a time -consuming process. Essence You may need to change the name server of the domain, disable the cache tools on the site, and then spend time check whether your page is loaded correctly.

Jetpack is different. Since it is a service centered on WordPress, all you have to do is install a plug -in. After the plug -in activation, you can open the Jetpack CDN function at any time without leaving the WordPress dashboard.

2. You can access WordPress.com Data Center

Jetpack provides content from high -speed and dedicated data centers. Trust of millions of users.

Even if you have a self -hosted WordPress site, you can still benefit from using Jetpack CDN. The only thing to note is that you need a wordpress.com account to access the function of Jetpack (although you can choose a free one).

With free accounts, you can enable Jetpack on your WordPress website and start enjoying the reduced page load time and security in a few minutes.

3. It can reduce your hosting costs

In addition to the content of the website across multiple servers, CDN also uninstalls static files. This means that the image and any CSS and JavaScript are from the CDN network andNot your server is loaded.

Many online host opportunities try to persuade you to choose a more expensive plan based on the increased storage capacity and bandwidth allocation. By using CDN, you can get the same performance (even better) and still pay a relatively cheap custody plan.

That’s because CDNs like Jetpack have a lot of heavy work from your server. They can load the image and other media files seen by the visitors and provide a copy of your website from their data center.

It is clear that even if you use CDN,

still

needs to pay for the hosting. But over time, the Jetpack CDN will save you a lot of funds instead of upgrading your hosting plan.

4. It is unlimited and free

The number of files that jetpack can provide is not limited. Whether your website has five pages or 5,000 pages, ten pictures or 10,000, Jetpack can meet your needs.

Most CDNs charge you according to the traffic you get and monthly fees. These costs add up may cause you to pay for CDN more than the hosting fee. With Jetpack, you don’t have to worry about complex pricing levels or excess fees.

5. It is designed for WordPress Jetpack specially designed for WordPress. You can use a third -party CDN to use it with your WordPress website. You don’t have to guess which settings are most suitable for you -no matter what theme or plug -in you use, Jetpack will handle it for you.

Other CDNs require you to configure its settings. According to the settings you use, you may see better or worse results when performing performance tests. With Jetpack, you don’t have to worry about complex configuration settings.

Jetpack CDN has existed since Jetpack 2.0 (released in 2012), when it was called Photon. It can effectively accelerate your website after the test and proof.

How to build your own CDN

There are many CDN providers, which all have different costs, functions and settings procedures. In most cases, setting CDN to use your website is a complex process, which may take hours.

In addition, you need some technical knowledge to configure CDN to use WordPress. At least, you need to read the document of the service to ensure that you do everything step by step.

Setting CDN usually includes the following steps:

Register the CDN service

. There are many options. Amazon Cloudfront, Keycdn and Maxcdn are the most common.

Create a pull zone.

To create a pull area, you need to name the area, and then set the CDN to \”pull\” the URL of the content. You usually do not need any file transmission protocol (FTP), but you should use the URL of your website. Pulling the area may also have more advanced options, such as enabling concession -connected font (SSL) certificate.

    Create a push area.

  1. Any image, CSS, or JavaScript files with more than 100 MB is not common, but if you have videos that you need to transmit through CDN, you may need to push the area. To push files, you usually need to use a third -party client.
  2. Create a custom URL for your CDN.

  3. CDN usually provides you with a URL (such as user54334.thecdn.com/yourasset.css), but most people hope that this is their sub -domain. In this case, you need to edit DNS settings and create a CNAME to point the sub -domain you choose to the domain generated by CDN.
  4. Test your new URL.

  5. To test, you only need to obtain the URL of known assets (for example, yourJetpack.blog/picture.jpg) and replace it to CDN URL (such as cdn.yourjetpack.blog/picture.jpg). If the link is loaded, your URL work is normal.
  6. Reset of your assets.

  7. At this stage, your website still points to non -CDN URL. You need to find all non -CDN URLs and replace them to CDN URL.
  8. In many cases, you may set CDN perfectly, but after you change the website, the service will not update its cache. If this happens, you need to control the cache of the CDN manually.

  9. Most CDN providers allow you to configure the service to remove the time required to remove its cache and store the new copy of your website. Ideally, this should happen every day, but your choice will vary from the CDN you use.
  10. If you use WordPress, many CDN services will provide about how to configure its services to CMSSpecial instructions used together. You can also choose to use CDN built for WordPress users, and you don’t need to complete the complex setting process. How to set jetpack CDN

If you are already using Jetpack for automatic real -time backup, powerful protection or other available functions, you can immediately enable its CDN. If you haven’t used JetPack yet, please log in to WordPress first and transfer to the

plug -in → Add new

tag.

使用右侧的搜索栏查找“Jetpack”插件,然后单击

立即安装

在第一个选项旁边: [123 ] After installing the plug -in installation of WordPress, select the option to activate it immediately. After installing Jetpack, it will prompt you to log in to the WordPress.com account or register a new account.

After completion, please execute the following steps:

Navigation to

jetpack → Set 库中的 Jetpack 插件选项 in the WordPress dashboard menu.

Click

Performance

Jepack 网站

Tag.

Select

    Enable site accelerator

  1. .
  2. This is the content of

  3. The tab of the Jetpack settings is shown below:
  4. [
  5. [

123] This will take a few seconds to load, and then your site will start providing images and other static files from Global CDN, such as CSS and JavaScript. The CDN that enables Jetpack will also open the settings that speed up the loading time of the image and static file. If you don’t want to use the full set of CDN functions of Jetpack, you can also choose to open any settings alone. In addition, you can enable the delay loading function from performance

Jetpack 中的站点加速器设置. In this way, the image will be loaded when the visitor rolled down your website down your website, instead of loading all at once. Delay loading can greatly shorten the loading time of media -intensive websites, so we recommend that you use it.

That’s it! There are no costs, no hard settings, and no risk of stopping -just loading assets from Global CDN.

Others of jetpackFunctions include: Automatic link to CDN URL

. There is no need to rewrite complicated; Jetpack has done all these tasks for you.

Image size adjustment.

This is a fast way to reduce the size of the website and load time.

  • If you want to host the video content, consider using VideoPress, including unlimited WordPress video hosting. When using this feature, all your videos will be on the same global network as your other assets.
  • CDN speed test

  • The most convincing reason using CDN is that it can significantly improve the performance of your website. Considering this, we want to show you the difference between websites that do not use CDN and websites that use CDN.
  • We have established a test WordPress website on one of our favorite online hosts. The following is the situation of quickly understanding the site from a performance perspective before activating Jetpack CDN:

Our testing website has been loaded relatively fast without any optimization. Overall, the maximum content drawing (LCP) is 1.8 seconds. Generally, any LCP less than 1.2 seconds is ideal. If you cross that line, the jump rate of your website will start to rise. Therefore, we hope that this value is lower.

Now, let’s see what will happen after enabling Jetpack CDN:

Except for enabling Jetpack CDN, we have no part or configuration on the website or their configuration Make any changes. Enabling CDN means all media and static files on the cache website. This causes LCP to decrease by one second. 启用 Jetpack CDN 之前的网站性能报告

Please note that using CDN is only one of the many ways you can optimize the performance of the website. This means that if you get an excellent loading time through the CDN, if you are willing to understand your website settings and consider switching to the new network host, you can further improve them.

Similarly, the results you get when using CDN may be different from us. Most WordPress websites will see the performance of using Jetpack significantly. Your results will vary from your site, its configuration, and the network host you use.

Another reason you should consider using CDN is that it can keep your website the best performance even under pressure. According to the network host and plan you useThe page of your website may be loaded quickly, but the premise is that you do not get so much traffic.

启用 Jetpack CDN 后网站的性能报告 Considering this, we decided to run our test website through pressure testing when using Jetpack CDN. Without CDN, your loading time will change with the increase in the number of users on your website at the same time. With CDN, the results should be kept quite stable.

In our test, we see that the average loading time is 1.05 seconds. This is a little more than we see in the conventional page speed test. But this is unexpected. Considering that we have used different test positions, and we access it at the same time by configured 20 robots to make the website under pressure.

Overall, the use of Jetpack CDN has greatly improved the loading time of our website

, and

is still similar when placing it under pressure. All of these are carried out when using the basic custody plan.

Common issues related to content delivery network

压力测试结果 One of the biggest advantages using Jetpack is that it simplifies the entire process of choosing and setting CDN for WordPress. Even so, it is important to understand the general working method of CDN.

Considering this, we have summarized some of the most common questions about CDN to ensure all the information you need.

1. How to judge whether my website is already using CDN? Most CDNs do not provide free services. This means that if you receive the bill, you will know that you are using CDN. With Jetpack, you can use the complete CDN function for free. The plug -in will not remind you that you are using CDN, but because of faster loading time and better performance, you will notice it.

If you are using JetPack, you can check whether the CDN function of the site accelerator has been enabled by accessing the plug -in settings. The plug -in allows you to turn on the CDN by switching switches so that you can easily see when it works.

Or you can use your favorite speed testing tool waterfall function, such as GTMETRIX or pingdom page spey. Check the static file URL that is loaded -if the CDN is in a state of activity, they should be the default URL in the URL or CDN you set.

2. How to test my CDN performance?

The best way to test CDN performance is to use daily use. After the CDN is enabledDue to the decrease in users who left when the page is loaded, you may find that the jump rate of the website has decreased. If your jump rate is already very low, you and your visitors can still benefit from the lower loading time.

Other methods for testing the performance of CDN include tools such as PageSpeed \u200b\u200bInsights or GTMETRIX. How long these free services can check the pages in the site. They will also provide suggestions on how to comprehensively improve performance (except using CDN).

3. How to check my CDN error?

If you encounter service problems, many CDNs show custom error screens. The following is an example of the CDN error screen:

If you encounter an error, check your CDN document to obtain information about how to repair it. Using JetPack, because the plug -in is responsible for configured CDN to perfectly cooperate with your WordPress website, it rarely encounters errors. Unless the wordpress.com server fails (this situation will not happen), your site will not encounter any CDN problem.

Note: Sometimes, the theme or plug -in is not compatible with your CDN, especially when it is used to create static files. However, this situation is very rare.

4. Should local small websites use CDN?

No website cannot benefit from using CDN. Even if you only get medium traffic, using CDN will greatly improve the user experience. In turn, this should be transformed into increased participation and conversion rate.

CDN 错误屏幕 In addition, it can also improve your core network vitality, which has recently become Google’s ranking factor.

The only thing to pay attention to when using CDN is the cost. Many CDN services charge high monthly and extra costs, depending on the traffic you get. For a small website, these can match or even exceed the cost you have paid for the hosting.

With Jetpack, you can access the free CDN function that uses WordPress.com data centers to improve website performance. Once you exclude the cost, there is no reason

No

use the CDN and WordPress together.

5. When should you not use CDN?

In Iran, Sudan, Syria or Cuba, using CDN may cause your content to be prevented by government restrictions. Therefore, if your target audience is located in one of the countries/regions, you may want to avoid using one of them.123]

Otherwise, there are few reasons not to use CDN for your website. CDN comprehensively improves website performance, and they can help you provide pages and files to visitors faster.

When using CDN, you may encounter problems when you change the website. CDN can store the old version of your site, and these cache copies cannot be updated after your editorial site. Fortunately, you can easily solve this problem by compulsory CDN to manually clear the cache.

Or, we recommend that you use the temporary environment when you change the website. In this way, once these changes are pushed to the production environment, you can edit your site with peace of mind and clear the CDN cache.

When using Jetpack, the cache problem is not a problem. When you change the WordPress website, the plugin will automatically remove the cache.

6. Why does the URL of the static file when using CDN?

The best CDN provider will not only cache your website, but also store a copy of your media and static files in its data center. The original file is retained on your server, but when the visitor visits the page, the CDN will load your copy.

Because these files are located on the server of CDN, they have their own URLs, excluding your original domain. From a practical point of view, most users will not even notice this change, but they will benefit from faster loading time.

Use Jetpack CDN to improve the site speed

If your website is loaded slowly, has a global audience or the peak of traffic, Jetpack CDN can play an important role. Install Jetpack and complete the setting in a few minutes according to the useful entry guide!

Since the CDN is completely free, you will not have any losses, and you will benefit from many other security, speed and performance advantages of Jetpack. Installing and activating Jetpack is very simple, you can almost start seeing the improvement of site performance immediately.

Learn more information about Jetpack CDN.

Author:

Leave a Reply

Your email address will not be published. Required fields are marked *