Tips for improving WordPress speed and Performance

Source: Internet
Author: User
Tags image hosting website performance wordpress database

Website performance is a key factor for any successful website. Today, WordPress is becoming more popular than ever before. The 11 tips mentioned here to improve WordPress speed and performance may be useful to you.

1. Install the DB cache plug-in

The DB cache plug-in can cache each database query for a lifetime. Its advantage is that the speed is far higher than other HTML cache plug-ins and less disk space is used.

2. Minimize PHP and database queries

In the 4 simple ways to speed up WordPress article, we proposed that reducing PHP and database queries can reduce the burden on website servers. Each time a webpage is loaded, if the browser has executed any PHP query, it will increase the waiting time for you to open the page. If HTML is used to replace some PHP, the browser only reads HTML when loading the page.

For example, you can

<H1 id = "title"> <! -- P bloginfo ('name'); -->

Replace

<H1 id = "title" lang = "php"> you blog name

3. Delete unnecessary plug-ins and upgrade the plug-ins in use

Deleting unused plug-ins from the Web server only affects the speed of a website because WordPress will check whether they are activated; in addition, you must keep the latest version of the plug-in that you are using. The plug-in author releases the new version because they have modified the code to make the plug-in more effective.

4. Optimize and repair your database from myphpadmin

You should often log on to your myphpadmin to optimize your database. Find your WordPress databasetables, select the check boxes for all tables, and select optimise tables option and repair. You will be surprised that this technique may help you save more than 10% of the database space.

5. Upgrade Wordpress to the latest version (excluding beta)

WordPress 2.8.4 has a large number of updates compared with previous versions. Therefore, it is best to upgrade to the latest version.

6. optimize images on the website

Although the speed of surfing the internet is constantly improving, it is also necessary to reduce the size of the image as much as possible. Of course, it is necessary to ensure the quality of the image.

7. Use optimize DB

The function of the optimize dB plug-in is to effectively optimize and reorganize your WordPress database tables. The interface is very simple. There is only one button: optimize now.

8. Install the wp css plug-in

The wp css plug-in gzip contains spaces in your CSS file. It gives you peace of mind to @ import the CSS file without worrying about what will happen on the user end. You can also set the cache time and add a CSS file to a specific page or article.

9. Use reliable image hosting service

Try to save images in the article to other places, such as Google Picasa and Flickr. Instead of uploading data to your server. This can reduce the average CPU load/storage requirements of web servers.

10. Display page loading time

Insert a simple code in the appropriate position of the template to know how much time it takes to load the webpage. This tip shows you how to optimize your WordPress.

<! -- P echo get_num_queries (); --> queries in <! -- P timer_stop (1); --> seconds.

11. Install the WP super cache plug-in

The WP super cache plug-in allows Wordpress to generate static html pages. When you access the website, you can see that HTML files are generated on your web server, rather than repeatedly letting the server process PHP scripts.

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.