Start with details to keep your site speed down

Source: Internet
Author: User
Keywords With

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

Does your site become more and more slow over time? If this is the case, then it is time to make some adjustments to the speed of your site. Optimizing the loading speed of a site can be a time-consuming effort, but I can assure you it's worth it. In this article, I will share four simple and effective speed optimization details, so that your WordPress site speed has a big upgrade, and these four methods will not consume you too much time.

1, maintain the minimum number of WordPress Plug-ins

WordPress plugin Although can help you build a site you want, but each plug-in for your site is a can be a large and small resource overhead, which is why you need to keep as low as possible quantity.

So how do we optimize the number of plug-ins on the site? For this I will recommend you remove some plug-ins before using the P3 plug-in (Plug-in Performance Analyzer), which will help you analyze your wordpress plugin to your site's resource consumption. With this plug-in you can know what your WordPress site installed Plug-ins, which several plug-ins are unnecessary, once you have completed the audit, you can safely delete these additional plug-ins. The P3 (Plug-in Performance Analyzer) will also tell you the loading times of each plug-in and their impact on your site loading time. Then, it will be shown in front of you in a clear, beautiful pie chart, as the following illustration shows

  

In the pie chart above, we can see the plug-ins that are consuming the most resources for our site, you can delete or find a better plug-in replacement to improve the loading speed of the site.

2: Keep The subject file to the maximum of the streamlined code

If we want to improve the speed of the site, the theme file code optimization is essential, because only in this way to further the site to thin body movement. Of course, not every optimization personnel are profound code, especially WordPress is developed with the PHP language, then we have any way to make the code illiterate can also be a good streamlined code? In fact, we can only use some small tools to deal with this problem. The author recommends using a PHP development gadget called "Minify". 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.

  

Before streamlining

  

After streamlining

From the simplification and streamlining of the two pictures we can clearly see that the site in the streamlined JS, CSS files have a lot of compression, the size of the reduction will greatly improve the speed of the site.

3. Delete spam comments

Deletions and comments that seem obvious to improve the loading speed of the site, many webmasters may ignore this, think that the impact of spam comments is small, a few spam comments on your site database may not incur much overhead, but when you have thousands, things may change.

That's why I would suggest you empty comments, especially if you have hundreds of garbage reviews per day.

Of course Delete the garbage evaluation This is a simple process, all you need to do is click on the Admin menu of your comments to tap the [Spam] button, and then select the Empty Evaluation button. will be able to complete the elimination of garbage evaluation. Improve the speed of the need to start from a variety of details, as a webmaster do not think that this is just a small action ignored.

4, delete the draft article

After WordPress version 2.6, the system will automatically save drafts of your article. Having it will be easier for our content editors, but once you publish the article, you will not need the draft information, and these drafts information will become a site encumbrance. If the system automatically saves your article 20 times while you edit an article, and you edit 100 articles, you will have 2,000 additional drafts on your WordPress site. This will make your database slow and your pages will take more time to load.

To avoid this, you need to clean up your site's draft information every month. If you release it more than once a day or a day, I would recommend that you clean it every week. Now, to remove them, you need a tool. The author shares a tool, this tool = named: decoupled Delete Revision, you can use this tool to simply delete the data directly in the database. Decoupled Delete Revision allows you to delete old article information and, if necessary, optimize your database.

Conclusion

The details to improve site loading speed are not just four points, but there are plenty of good ways. I hope this article is helpful to everyone. This article by the car cushion brand http://www.qichezuodian520.com/webmaster Finishing edit, reprint please keep the source.

Related Article

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.