Talking about the method of improving the running efficiency of WordPress blog program at four points

Source: Internet
Author: User
Keywords WordPress improve blog run talk about

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

Unconsciously, my site has been through a few years of ups and downs, but with the precipitation of time, the efficiency of the site more and more let me depressed, this article, just say three points to improve the operation of WordPress Blog program Efficiency method, Hope for each one want to improve the WordPress blog program to help friends, and listen to the author slowly.

One: Maintain the code simplification of WordPress theme

On the WordPress theme of the simplified code, for those who do not know PHP and HTML, there is a certain challenge, so, the author deliberately introduced a number of gadgets for everyone to use, a "minify" of the PHP development gadget. We just run this small software, he can automatically integrate the CSS files on our site, clean the site page some blank or do not need to note the text, to optimize the effect of our site code. At the same time, this tool can also compress our site, reduce the size of the site. It's very convenient to use, and the gadget is free. As shown in the following figure, this is the author's site with the help of this small tool to optimize the effect of the map

  

From the above two charts, we can see the number of streamlined code, after streamlining, CSS files and JS files will appear a significant reduction in volume, so as to achieve the call to bring more unmatched speed.

Two: On the site to open gzip compression function

We look at the screenshot below, is the author of the website after gzip compression, the corresponding browser data size, compression ratio reached 78%, visible to open the speed of how much influence. For the space that supports htaccess, only one sentence can turn on the gzip compression function, the following figure

  

The following is the open code, I believe for WordPress, Gzip is an indispensable function, but also hope that we can open early, improve the user's open efficiency, to achieve success.

Third: Less use of WordPress plug-ins, and will be required to write in the program

I remember using the Xiaohan blog template before, his template is mainly refreshing, when the original installation, the sidebar call is not in the background directly dragged, but in the program to write fixed, remember Shanhan also said, less call these backstage plug-ins, can be as big as possible to improve the loading speed of WordPress , and this block, we want to use less wordpress plugin.

For WordPress, Plug-ins can make your blog look like the effect of flying all over the sky, but you have to change the user's loading speed is slow, and so your effect has not been shown, the user has closed the window, so, the effect is meaningless, so that, in order to blog efficiency, we must use less plug-ins , for Plug-ins, we should use some tools to detect the impact of these plug-ins on our blog, as shown in the following figure (Tools for P3)

  

In the above illustration, we can see the plug-in status in the blog, so as to determine the plug-in information we need.

Four: for spam comments, drafts, delete the plugin as soon as possible to clean up the database

I remember watching a blog before, because for a long time did not maintain, inside the comments have reached tens of thousands of spam, so many of the rubbish left behind is not much significance, so, at the beginning of the stage should be how many deleted, do not think to stay there to support the number good-looking, if this is a piece of rubbish, Then your database will slowly get affected, become a inefficient site to run garbage; In addition to spam messages, there are draft information, because when you write the article, every how often will produce a draft, slowly quadrochromatic more, you will not clean up, the database will be more and more redundancy.

And we are in the use of plug-ins, often uninstall Plug-ins, the database will still have information, then we also need to clean up such a part of the data, many friends will ignore, thought that just unload off the finished, in fact, is not, many times the residual information will be in the database, As with the program on our computer, you unload the program, but there is still information in the registry, this requires cleaning tools to clean out, for this document, you can use the "wordpress database garbage Cleaning Plug-ins", this can be their own Baidu bar, do not introduce, Just explain the things we should pay attention to.

Well, the above four points is the author summed up several points, I believe that for everyone or have some help, for WordPress blog, efficiency is the key, refueling, graduation design webmaster, http://www.jpbysj.com/, original A5.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.