Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How wordpress uses Cloud Storage to achieve CDN acceleration

2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

It is believed that many inexperienced people have no idea about how to use cloud storage to achieve CDN acceleration in wordpress. Therefore, this article summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.

Shoot the basic introduction of cloud storage again.

Cloud storage is a general large-scale storage service. Open and highly scalable API can be easily used by developers to help Internet enterprises obtain reliable, secure and fast basic storage systems at extremely low prices.

We mainly provide users with static file storage + CDN acceleration services, static files mainly refer to picture, APP, audio, video, small files and other services, in addition, we have deployed 55 CDN nodes, more than 500 servers, telecom, Unicom, mobile and education network 4-line bandwidth throughout the country.

Another shot of the top 10 advantages of cloud storage, security and stability

The files uploaded by users are stored on at least three different servers and placed in different computer rooms, so that there is no hidden danger to data security. Unique storage self-backup mechanism, in the event of any server failure, will self-copy a new data on another server.

File acceleration

It also shoots the CDN accelerated network with cloud storage distributed across the country, using four-line bandwidth of telecom, China Unicom, Mobile and education network, without limiting the peak bandwidth, and calculates the fastest access to the computer room for users through cache, intelligent parsing and load balancing technology. compared with the traditional IDC, the image opening speed is increased by 60% and 300%.

Rich file manipulation API

Provide HTTP REST and FTP two kinds of operation interface, the user is more convenient to use. Applications that have already used the FTP server interface can be directly docked, making it easier to migrate.

Automatically generate 30 kinds of thumbnails

Using lossless image compression technology, up to 30 custom thumbnail sizes are automatically generated, and the calling rules can be customized, either http://www.domain.com/photo.jpg!200x100.jpg or http://www.domain.com/photo.jpg!small.jpg

Independent domain names are supported

Each space can be bound to up to 5 independent domain names, fully meeting your multi-platform application needs.

Whole network hotlink protection

Can be flexibly set according to visitors' citation of the website, User-Agent, access to IP and other conditions, the use of token mandatory hotlink protection technology, but also developed for Taobao and pat stores powerful hotlink protection features. It also supports replacing the image under the address used by the hotlink owner with a custom advertising image.

Billing on demand

Different from the traditional IDC/CDN peak payment method, cloud storage is billed according to users' real-time usage, which allows you to bid farewell to the huge waste of bandwidth investment and save more than 50% of the cost.

Elastic expansion

Cloud storage also supports elastic expansion, which will greatly improve the efficiency of your IT deployment and launch, improve the efficiency of operation and maintenance, and reduce the test cost.

Real-time monitoring report

Zaipai Cloud Storage has a set of real-time traffic and bandwidth monitoring system, which can be viewed flexibly according to domain name, space and time span, and record network-wide access detailed data for you for data analysis.

Customize error-page Picture

When a user accesses a file that does not exist (404), when a user accesses a hotlink (403), or temporarily closes the space (405), the user will automatically prompt or warn with a set custom image to make the user access experience better.

Flexible space authorization

Each administrator account can create up to 200 spaces and 50 operator accounts to be allocated to different departments or project groups, and can be flexibly cross-authorized.

Now that you have a certain understanding of cloud storage, let's introduce the truthful use of the wordpress system in more detail.

Use the classic cache plug-in WP Super Cache and Zaipaiyun to achieve WordPress site-wide CDN acceleration. Refer to "using cache plug-in WP Super Cache and Zaipaiyun to build WordPress full-site CDN."

Let's talk about the benefits of W3 Total Cache and cloud collection:

You can push the static files of the entire WordPress site to the CDN service of Tencent Cloud.

Attachments uploaded when updating the content will be normally stored on the server where WP resides and pushed to Zaopaiyun. Visitors will automatically request to re-shoot the cloud when browsing, and the data will be insured without any additional operations.

Modify the template in the WP background, etc., and will also be updated to re-shoot the cloud.

If the CDN service needs to be replaced in the future, the visit to the website will not be affected.

1. To create cloud space again, be sure to select the file class space. If you choose the wrong .css or .js file, you can't put it on it.

2. Download and install the W3 Total Cache plug-in and enable it. This plug-in uses and sets methods to go to Baidu on its own, because I don't know.

3. Enable CDN in the General Setting of W3 Total Cache and select the type as Self-hosted, as shown in the following figure.

6. After all these are set up, the last step is to upload the static files such as attachments, JS and wp-includes in the current space to the reshooting space with FTP. It is recommended to use FileZilla tools to upload several static folders and static files, such as wp-includes, wp-content, and so on. I tried to save trouble and uploaded the whole station.

And then start to experience what it feels like to be faster than CDN. The speed of the Hong Kong mainframe that I use is indeed improved after using this scheme, and the key is that it can meet the stable speed needs of different nodes (Unicom, Telecom). However, traffic consumption can not be ignored and needs further observation. In addition, there is the question of cost, in which the gains and losses are measured by themselves. The good news is that you can switch back at any time.

After reading the above, have you mastered how wordpress uses cloud storage to achieve CDN acceleration? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report