Tsohost Help Centre

Table of Contents

Optimizing my WordPress website

Updated Nov 8th, 2019 at 10:38 GMT

The following steps can help you optimise your WordPress site, so that it loads lightning fast:

1. Caching - WP Super Cache is a static caching plugin for WordPress. It generates HTML files that are served directly by Apache without processing comparatively heavy PHP scripts. This plugin will speed up your site significantly.

2. Optimise Images - The WP Smush.it plugin strips meta data from JPEGs, optimises JPEG compression, converts certain GIFs to indexed PNGs and strips the unused colours from indexed images . You could also download ImageOptim from imageoptim.com, this software optimises images by finding best compressions parameters and by removing unnecessary comments and color profiles. It handles PNG, JPEG and GIF animations.

3. Dynamic content has a big impact on site speed, so remove any unnecessary dynamic content from your site.

4. Compression and browser caching - Gzip compression works by finding similar strings within a text file, and replacing those strings temporarily to make the overall file size smaller. You can add the following to the .htaccess file to enable Gzip compression;


AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript text/javascript

#End Gzip

5. Use a CDN - A CDN is a Content Delivery Network, this reduces hops and lowers latency. Some recommended CDNs are CloudFlare and MaxCDN.

6. Software, plugin and theme updates come with bug patches and enhancements, make sure you install any updates right away.

7. Database maintenance - The WP-DB Manager plugin allows you to optimise and repair your database. You can also backup the database, restore the database, delete a backed up database, drop tables and run selected queries. - The WP Optimise plugin allows you to optimise and clean up your database.

If you need further work to be done, you can approach your web developer or a third party agencies.