{"id":16861,"date":"2018-08-07T10:29:00","date_gmt":"2018-08-07T08:29:00","guid":{"rendered":"https:\/\/hetzner.co.za\/help-centre\/?p=16861"},"modified":"2025-12-30T10:51:56","modified_gmt":"2025-12-30T08:51:56","slug":"optimise-wordpress","status":"publish","type":"post","link":"https:\/\/xneelo.co.za\/help-centre\/website\/optimise-wordpress\/","title":{"rendered":"Optimise WordPress"},"content":{"rendered":"<p>Is your <a href=\"https:\/\/xneelo.co.za\/wordpress-hosting\/\" target=\"_blank\" rel=\"noopener noreferrer\">WordPress site<\/a> markedly slow? Or have our Technical Support team informed you that your Managed or Self-Managed server is experiencing <strong>high load<\/strong> which has a <strong>negative impact on server performance? <\/strong>Has your site been moved to one of our quarantine servers due to load issues in order to\u00a0ensure optimal server performance for our other customers?<\/p>\n<p>Consider the aspects\u00a0below to optimise the performance of your site or server.<\/p>\n<p><span style=\"font-weight: 400;\">There are various tools available for testing your website\u2019s speed and performance, such as <\/span><span style=\"font-weight: 400;\"><a href=\"https:\/\/developers.google.com\/speed\/pagespeed\/insights\/\" target=\"_blank\" rel=\"noopener\">PageSpeed Insights<\/a>\u00a0<\/span><span style=\"font-weight: 400;\">(from Google) and <\/span><a href=\"http:\/\/tools.pingdom.com\/fpt\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">Pingdom<\/span><\/a><span style=\"font-weight: 400;\">. Use these to determine which\u00a0aspects of your site or server needs some fine tuning.<\/span><\/p>\n<p><strong>Here are some aspects to investigate:<\/strong><\/p>\n<h2><span style=\"font-weight: 400;\">1. Caching<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">In most cases, caching is the most effective way to speed up your WordPress website, by <strong>reducing unnecessary reloading of pages<\/strong>. Caching creates static HTML versions of each website page which reduces the number of database queries or execution of PHP code, reducing the number of server requests.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">These are popular WordPress caching plugins (only use one):<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><a href=\"https:\/\/wordpress.org\/plugins\/w3-total-cache\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">W3 Total Cache<\/span><\/a><\/li>\n<li style=\"font-weight: 400;\"><a href=\"https:\/\/wordpress.org\/plugins\/wp-super-cache\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">WP Super Cache<\/span><\/a><\/li>\n<li style=\"font-weight: 400;\"><a href=\"http:\/\/wp-rocket.me\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">WP Rocket<\/span><\/a><\/li>\n<\/ul>\n<h2><span style=\"font-weight: 400;\">2. Plugin cleanup<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Too many plugins, or some specific plugins, can drastically impact your site\u2019s performance. This can be caused by:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\"><strong>Additional HTTP requests<\/strong>. Some plugins add extra JavaScript and CSS file requests, causing higher server load.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\"><strong>Database-intensive queries<\/strong>. Inefficient or complex queries can cause significant load times and poor performance.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\"><strong>Plugin conflicts<\/strong>. Some plugins interact badly with other plugins or WordPress themes, causing performance issues.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\"><a href=\"https:\/\/wordpress.org\/plugins\/code-profiler\/\" target=\"_blank\" rel=\"noopener\">WP Performance Profiling<\/a> is one of many useful tools that highlight the effect that <strong>each plugin adds to your page loading time<\/strong>. Certain plugin types store more data than others in the database and can be the culprit that is placing high load on the CPU:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Antispam plugins e.g. Akismet<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Backup plugins e.g. Backup Buddy<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Link tracking plugins<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Statistics plugins<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Security plugins<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Related Posts or Popular Post plugins<\/span><\/li>\n<\/ul>\n<h3>How to fix it:<\/h3>\n<p><span style=\"font-weight: 400;\">Use <strong>systematic testing<\/strong> to isolate culprit plugins: deactivate them all and then reactivate one by one and run the test again. Note that even if deactivating a plugin improves performance, it may not be that specific plugin that is the culprit, but rather a conflict with another plugin.<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">3. Optimise the database<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">As your site grows, so will the database that runs it. Over time a lot of unnecessary data starts to bloat the database and maintenance is needed to keep it at an <strong>optimal performance level. <\/strong><\/span><\/p>\n<h3>How to check it:<\/h3>\n<p><a href=\"https:\/\/wordpress.org\/plugins\/query-monitor\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">Query Monitor<\/span><\/a><span style=\"font-weight: 400;\"> is a plugin which provides <strong>debugging and performance information<\/strong> on database queries, hooks, conditionals, HTTP requests, redirects and more. It highlights slow queries in red, which helps you to <strong>quickly identify<\/strong> problems.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">If our Technical Support team inform you that it appears that<strong> high load issues are caused by database queries<\/strong>, then a debugging plugin like Query Monitor could help you to isolate the cause of the issue. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">Factors that can unnecessarily increase the database size are<\/span><\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Certain types of plugins (see Plugin Cleanup above)<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Spam comments<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Revisions<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Autosaves<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Unused plugins and themes<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<h3>How to fix it:<\/h3>\n<p><span style=\"font-weight: 400;\">Plugins such as <\/span><a href=\"https:\/\/en-za.wordpress.org\/plugins\/wp-optimize\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">WP-optimize<\/span><\/a><span style=\"font-weight: 400;\"> or <\/span><a href=\"https:\/\/wordpress.org\/plugins\/autoptimize\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">Autoptimize<\/span><\/a><span style=\"font-weight: 400;\"> or <\/span><a href=\"https:\/\/wordpress.org\/plugins\/wp-sweep\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">WP-sweep<\/span><\/a><span style=\"font-weight: 400;\"> are great for cleaning up unnecessary data &#8211; but first create a <\/span><a href=\"http:\/\/www.wpbeginner.com\/plugins\/7-best-wordpress-backup-plugins-compared-pros-and-cons\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">complete WordPress backup<\/span><\/a><span style=\"font-weight: 400;\"> of your site as changes made during cleanup are irreversible.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">While the WordPress database is <\/span><b>indexed<\/b><span style=\"font-weight: 400;\"> by default, high server load is sometimes caused by poor database queries which may be resolved by additional indexing. There is no quick fix, though &#8211; the problem queries need to be addressed specifically. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">However, what appears to be a database problem may not be; it may be a <strong>bad loop in a plugin<\/strong> that causes a good query to run too many times. Before trying further indexing, first do a plugin cleanup, and test plugins by deactivating them all and then reactivating one by one.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">For further information: <\/span><a href=\"https:\/\/css-tricks.com\/finding-and-fixing-slow-wordpress-database-queries\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">Finding and Fixing Slow WordPress Database Queries<\/span><\/a><\/p>\n<h2><span style=\"font-weight: 400;\">4. Optimise images<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Large, or poorly optimised images is a common reason for slow websites. They take up unnecessary space, add strain on the server and take a long time to load.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The aim with image optimisation is to find the best balance between image quality and file size: the file size of very high quality images is too large and causes slow loading, but fast loading small images may be of poor quality.<\/span><\/p>\n<h3>How to fix it:<\/h3>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Ensure the images\u00a0are in the correct file format<\/span>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Photographs or a complex images with lots of detail and colors should be JPEG.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Screenshots, illustrations, or images with lots of text are best as PNG.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">For simple animation (but you don\u2019t want to embed a video player), use GIF.<\/span><\/li>\n<\/ul>\n<\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Crop the image to focus on what is important. This reduces file size.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Resize to a pixel width that is suitable for viewing e.g. 600pixels. Resizing should be done before uploading \u2013\u00a0although WordPress allows the option of displaying smaller versions, the full sized version is stored.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Compress images using tools such as <\/span><a href=\"https:\/\/en-za.wordpress.org\/plugins\/wp-smushit\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">WP Smush<\/span><\/a><span style=\"font-weight: 400;\">\u00a0,\u00a0\u00a0<\/span><a href=\"https:\/\/tinypng.com\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">TinyPNG<\/span><\/a>\u00a0or <a href=\"https:\/\/www.websiteplanet.com\/webtools\/imagecompressor\/\" target=\"_blank\" rel=\"noopener noreferrer\">CompressPNG\/JPG<\/a><\/li>\n<\/ul>\n<h2><span style=\"font-weight: 400;\">5. Optimise Video<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Use <\/span><a href=\"https:\/\/wordpress.org\/plugins\/lazy-load-for-videos\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">Lazy Load for Video<\/span><\/a><span style=\"font-weight: 400;\"> to speed up your site by replacing embedded YouTube and Vimeo videos with a clickable preview image. By loading the videos only when the user clicks on the preview image, using jQuery, no unnecessary JavaScript is loaded.<\/span><\/p>\n<h2>6. Disable WP-cron<\/h2>\n<p>WordPress has a file called <strong>wp-cron.php<\/strong> that runs every time someone visits your site, which can severely throttle CPU usage and slow down busy sites.<\/p>\n<p>Rather than letting wp-cron slow down your site, it should be disabled and let your system handle scheduled processes in the background \u2014 using a cronjob.<\/p>\n<h3>Disable wp-cron in WordPress<\/h3>\n<ol>\n<li>Use FTP to access your server and navigate to the <strong>public_html<\/strong> folder<\/li>\n<li>Add this line at the bottom of your <strong>wp-config.php<\/strong> file<\/li>\n<\/ol>\n<pre>define('DISABLE_WP_CRON', true);<\/pre>\n<h3>Enable a real cronjob<\/h3>\n<div>You can now schedule these wp-crons to run once every couple of hours instead, using the <a href=\"https:\/\/xneelo.co.za\/help-centre\/control-panel\/manage-your-cronjobs-via-the-xneelo-control-panel\/\" target=\"_blank\" rel=\"noopener noreferrer\">Cronjob Manager<\/a> in your Control Panel. The rule you can add is as follows:<\/div>\n<pre>\/usr\/bin\/php-wrapper \/usr\/www\/users\/ftpuser\/wp-cron.php<\/pre>\n<p>&nbsp;<\/p>\n<hr \/>\n<h2>Important<\/h2>\n<p><span style=\"font-weight: 400;\">If these solutions don\u2019t resolve the <strong>high load or performance issues<\/strong>, then it is recommended that you get the services of a developer to help isolate and resolve the problem.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Once our Technical Support team contact you to advise you of load issues, the problem is already affecting your site or server performance and <strong>needs to be addressed with urgency<\/strong>. If your site is on one of our shared Web Hosting servers, your site may be moved to a temporary server to ensure that other sites are not negatively affected.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">In the case of <strong>Managed Servers<\/strong>, although no other customers are directly affected, constant attention to load issues on your server affects the ability of our Sys Admin team to <strong>effectively monitor our entire network<\/strong>. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">Our commitment is to\u00a0<\/span><span style=\"font-weight: 400;\"><strong>alert you of load issues<\/strong>, providing an <strong>indication of what may be causing the high load<\/strong>, as well as snapshots of<strong> MySQL queries or logs<\/strong>. Note, though, that we don\u2019t know the details of your site or server, and while we can offer suggestions, you will need to get the services of a developer if you aren\u2019t able to resolve the issue yourself.<\/span><\/p>\n<p><strong>If the issue is not resolved after we alert you 3 times about incidents of high load, we will need to stop monitoring your Managed Dedicated Server until you inform us that the issue is finalised.<\/strong><\/p>\n","protected":false,"plain":"Is your <a href=\"https:\/\/xneelo.co.za\/wordpress-hosting\/\" target=\"_blank\" rel=\"noopener noreferrer\">WordPress site<\/a> markedly slow? Or have our Technical Support team informed you that your Managed or Self-Managed server is experiencing <strong>high load<\/strong> which has a <strong>negative impact on server performance? <\/strong>Has your site been moved to one of our quarantine servers due to load issues in order to\u00a0ensure optimal server performance for our other customers?\r\n\r\nConsider the aspects\u00a0below to optimise the performance of your site or server.\r\n\r\n<span >There are various tools available for testing your website\u2019s speed and performance, such as <\/span><span ><a href=\"https:\/\/developers.google.com\/speed\/pagespeed\/insights\/\" target=\"_blank\" rel=\"noopener\">PageSpeed Insights<\/a>\u00a0<\/span><span >(from Google) and <\/span><a href=\"http:\/\/tools.pingdom.com\/fpt\/\" target=\"_blank\" rel=\"noopener\"><span >Pingdom<\/span><\/a><span >. Use these to determine which\u00a0aspects of your site or server needs some fine tuning.<\/span>\r\n\r\n<strong>Here are some aspects to investigate:<\/strong>\r\n<h2><span >1. Caching<\/span><\/h2>\r\n<span >In most cases, caching is the most effective way to speed up your WordPress website, by <strong>reducing unnecessary reloading of pages<\/strong>. Caching creates static HTML versions of each website page which reduces the number of database queries or execution of PHP code, reducing the number of server requests.<\/span>\r\n\r\n<span >These are popular WordPress caching plugins (only use one):<\/span>\r\n<ul>\r\n \t<li ><a href=\"https:\/\/wordpress.org\/plugins\/w3-total-cache\/\" target=\"_blank\" rel=\"noopener\"><span >W3 Total Cache<\/span><\/a><\/li>\r\n \t<li ><a href=\"https:\/\/wordpress.org\/plugins\/wp-super-cache\/\" target=\"_blank\" rel=\"noopener\"><span >WP Super Cache<\/span><\/a><\/li>\r\n \t<li ><a href=\"http:\/\/wp-rocket.me\/\" target=\"_blank\" rel=\"noopener\"><span >WP Rocket<\/span><\/a><\/li>\r\n<\/ul>\r\n<h2><span >2. Plugin cleanup<\/span><\/h2>\r\n<span >Too many plugins, or some specific plugins, can drastically impact your site\u2019s performance. This can be caused by:<\/span>\r\n<ul>\r\n \t<li ><span ><strong>Additional HTTP requests<\/strong>. Some plugins add extra JavaScript and CSS file requests, causing higher server load.<\/span><\/li>\r\n \t<li ><span ><strong>Database-intensive queries<\/strong>. Inefficient or complex queries can cause significant load times and poor performance.<\/span><\/li>\r\n \t<li ><span ><strong>Plugin conflicts<\/strong>. Some plugins interact badly with other plugins or WordPress themes, causing performance issues.<\/span><\/li>\r\n<\/ul>\r\n<span ><a href=\"https:\/\/wordpress.org\/plugins\/code-profiler\/\" target=\"_blank\" rel=\"noopener\">WP Performance Profiling<\/a> is one of many useful tools that highlight the effect that <strong>each plugin adds to your page loading time<\/strong>. Certain plugin types store more data than others in the database and can be the culprit that is placing high load on the CPU:<\/span>\r\n<ul>\r\n \t<li ><span >Antispam plugins e.g. Akismet<\/span><\/li>\r\n \t<li ><span >Backup plugins e.g. Backup Buddy<\/span><\/li>\r\n \t<li ><span >Link tracking plugins<\/span><\/li>\r\n \t<li ><span >Statistics plugins<\/span><\/li>\r\n \t<li ><span >Security plugins<\/span><\/li>\r\n \t<li ><span >Related Posts or Popular Post plugins<\/span><\/li>\r\n<\/ul>\r\n<h3>How to fix it:<\/h3>\r\n<span >Use <strong>systematic testing<\/strong> to isolate culprit plugins: deactivate them all and then reactivate one by one and run the test again. Note that even if deactivating a plugin improves performance, it may not be that specific plugin that is the culprit, but rather a conflict with another plugin.<\/span>\r\n<h2><span >3. Optimise the database<\/span><\/h2>\r\n<span >As your site grows, so will the database that runs it. Over time a lot of unnecessary data starts to bloat the database and maintenance is needed to keep it at an <strong>optimal performance level. <\/strong><\/span>\r\n<h3>How to check it:<\/h3>\r\n<a href=\"https:\/\/wordpress.org\/plugins\/query-monitor\/\" target=\"_blank\" rel=\"noopener\"><span >Query Monitor<\/span><\/a><span > is a plugin which provides <strong>debugging and performance information<\/strong> on database queries, hooks, conditionals, HTTP requests, redirects and more. It highlights slow queries in red, which helps you to <strong>quickly identify<\/strong> problems.<\/span>\r\n\r\n<span >If our Technical Support team inform you that it appears that<strong> high load issues are caused by database queries<\/strong>, then a debugging plugin like Query Monitor could help you to isolate the cause of the issue. <\/span>\r\n\r\n<span >Factors that can unnecessarily increase the database size are<\/span>\r\n<ol>\r\n \t<li >\r\n<ul>\r\n \t<li ><span >Certain types of plugins (see Plugin Cleanup above)<\/span><\/li>\r\n \t<li ><span >Spam comments<\/span><\/li>\r\n \t<li ><span >Revisions<\/span><\/li>\r\n \t<li ><span >Autosaves<\/span><\/li>\r\n \t<li ><span >Unused plugins and themes<\/span><\/li>\r\n<\/ul>\r\n<\/li>\r\n<\/ol>\r\n<h3>How to fix it:<\/h3>\r\n<span >Plugins such as <\/span><a href=\"https:\/\/en-za.wordpress.org\/plugins\/wp-optimize\/\" target=\"_blank\" rel=\"noopener\"><span >WP-optimize<\/span><\/a><span > or <\/span><a href=\"https:\/\/wordpress.org\/plugins\/autoptimize\/\" target=\"_blank\" rel=\"noopener\"><span >Autoptimize<\/span><\/a><span > or <\/span><a href=\"https:\/\/wordpress.org\/plugins\/wp-sweep\/\" target=\"_blank\" rel=\"noopener\"><span >WP-sweep<\/span><\/a><span > are great for cleaning up unnecessary data - but first create a <\/span><a href=\"http:\/\/www.wpbeginner.com\/plugins\/7-best-wordpress-backup-plugins-compared-pros-and-cons\/\" target=\"_blank\" rel=\"noopener\"><span >complete WordPress backup<\/span><\/a><span > of your site as changes made during cleanup are irreversible.<\/span>\r\n\r\n<span >While the WordPress database is <\/span><b>indexed<\/b><span > by default, high server load is sometimes caused by poor database queries which may be resolved by additional indexing. There is no quick fix, though - the problem queries need to be addressed specifically. <\/span>\r\n\r\n<span >However, what appears to be a database problem may not be; it may be a <strong>bad loop in a plugin<\/strong> that causes a good query to run too many times. Before trying further indexing, first do a plugin cleanup, and test plugins by deactivating them all and then reactivating one by one.<\/span>\r\n\r\n<span >For further information: <\/span><a href=\"https:\/\/css-tricks.com\/finding-and-fixing-slow-wordpress-database-queries\/\" target=\"_blank\" rel=\"noopener\"><span >Finding and Fixing Slow WordPress Database Queries<\/span><\/a>\r\n<h2><span >4. Optimise images<\/span><\/h2>\r\n<span >Large, or poorly optimised images is a common reason for slow websites. They take up unnecessary space, add strain on the server and take a long time to load.<\/span>\r\n\r\n<span >The aim with image optimisation is to find the best balance between image quality and file size: the file size of very high quality images is too large and causes slow loading, but fast loading small images may be of poor quality.<\/span>\r\n<h3>How to fix it:<\/h3>\r\n<ul>\r\n \t<li ><span >Ensure the images\u00a0are in the correct file format<\/span>\r\n<ul>\r\n \t<li ><span >Photographs or a complex images with lots of detail and colors should be JPEG.<\/span><\/li>\r\n \t<li ><span >Screenshots, illustrations, or images with lots of text are best as PNG.<\/span><\/li>\r\n \t<li ><span >For simple animation (but you don\u2019t want to embed a video player), use GIF.<\/span><\/li>\r\n<\/ul>\r\n<\/li>\r\n \t<li ><span >Crop the image to focus on what is important. This reduces file size.<\/span><\/li>\r\n \t<li ><span >Resize to a pixel width that is suitable for viewing e.g. 600pixels. Resizing should be done before uploading \u2013\u00a0although WordPress allows the option of displaying smaller versions, the full sized version is stored.<\/span><\/li>\r\n \t<li ><span >Compress images using tools such as <\/span><a href=\"https:\/\/en-za.wordpress.org\/plugins\/wp-smushit\/\" target=\"_blank\" rel=\"noopener\"><span >WP Smush<\/span><\/a><span >\u00a0,\u00a0\u00a0<\/span><a href=\"https:\/\/tinypng.com\/\" target=\"_blank\" rel=\"noopener\"><span >TinyPNG<\/span><\/a>\u00a0or <a href=\"https:\/\/www.websiteplanet.com\/webtools\/imagecompressor\/\" target=\"_blank\" rel=\"noopener noreferrer\">CompressPNG\/JPG<\/a><\/li>\r\n<\/ul>\r\n<h2><span >5. Optimise Video<\/span><\/h2>\r\n<span >Use <\/span><a href=\"https:\/\/wordpress.org\/plugins\/lazy-load-for-videos\/\" target=\"_blank\" rel=\"noopener\"><span >Lazy Load for Video<\/span><\/a><span > to speed up your site by replacing embedded YouTube and Vimeo videos with a clickable preview image. By loading the videos only when the user clicks on the preview image, using jQuery, no unnecessary JavaScript is loaded.<\/span>\r\n<h2>6. Disable WP-cron<\/h2>\r\nWordpress has a file called <strong>wp-cron.php<\/strong> that runs every time someone visits your site, which can severely throttle CPU usage and slow down busy sites.\r\n\r\nRather than letting wp-cron slow down your site, it should be disabled and let your system handle scheduled processes in the background \u2014 using a cronjob.\r\n<h3>Disable wp-cron in WordPress<\/h3>\r\n<ol>\r\n \t<li>Use FTP to access your server and navigate to the <strong>public_html<\/strong> folder<\/li>\r\n \t<li>Add this line at the bottom of your <strong>wp-config.php<\/strong> file<\/li>\r\n<\/ol>\r\n<pre>define('DISABLE_WP_CRON', true);<\/pre>\r\n<h3>Enable a real cronjob<\/h3>\r\n<div>You can now schedule these wp-crons to run once every couple of hours instead, using the <a href=\"https:\/\/xneelo.co.za\/help-centre\/control-panel\/manage-your-cronjobs-via-the-xneelo-control-panel\/\" target=\"_blank\" rel=\"noopener noreferrer\">Cronjob Manager<\/a> in your Control Panel. The rule you can add is as follows:<\/div>\r\n<pre>\/usr\/bin\/php-wrapper \/usr\/www\/users\/ftpuser\/wp-cron.php<\/pre>\r\n&nbsp;\r\n\r\n<hr \/>\r\n\r\n<h2>Important<\/h2>\r\n<span >If these solutions don\u2019t resolve the <strong>high load or performance issues<\/strong>, then it is recommended that you get the services of a developer to help isolate and resolve the problem.<\/span>\r\n\r\n<span >Once our Technical Support team contact you to advise you of load issues, the problem is already affecting your site or server performance and <strong>needs to be addressed with urgency<\/strong>. If your site is on one of our shared Web Hosting servers, your site may be moved to a temporary server to ensure that other sites are not negatively affected.<\/span>\r\n\r\n<span >In the case of <strong>Managed Servers<\/strong>, although no other customers are directly affected, constant attention to load issues on your server affects the ability of our Sys Admin team to <strong>effectively monitor our entire network<\/strong>. <\/span>\r\n\r\n<span >Our commitment is to\u00a0<\/span><span ><strong>alert you of load issues<\/strong>, providing an <strong>indication of what may be causing the high load<\/strong>, as well as snapshots of<strong> MySQL queries or logs<\/strong>. Note, though, that we don\u2019t know the details of your site or server, and while we can offer suggestions, you will need to get the services of a developer if you aren\u2019t able to resolve the issue yourself.<\/span>\r\n\r\n<strong>If the issue is not resolved after we alert you 3 times about incidents of high load, we will need to stop monitoring your Managed Dedicated Server until you inform us that the issue is finalised.<\/strong>"},"excerpt":{"rendered":"<p>If your WordPress site is slow or your server is showing high load or poor performance, investigate these aspects:<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"lsx_disable_title":"0","_relevanssi_hide_post":"","_relevanssi_hide_content":"","_relevanssi_pin_for_all":"","_relevanssi_pin_keywords":"","_relevanssi_unpin_keywords":"","_relevanssi_related_keywords":"","_relevanssi_related_include_ids":"","_relevanssi_related_exclude_ids":"","_relevanssi_related_no_append":"","_relevanssi_related_not_related":"","_relevanssi_related_posts":"","_relevanssi_noindex_reason":"","footnotes":""},"categories":[166],"tags":[23825,23822,18465,18450,18453,18456,18459,18462,755,24],"topics":[10371],"class_list":["post-16861","post","type-post","status-publish","format-standard","hentry","category-website","tag-wp","tag-slow","tag-optimise","tag-wordpress-plugins","tag-plugin-cleanup","tag-optimise-wordpress","tag-site-is-slow","tag-slow-website","tag-optimise-database","tag-wordpress","topics-wordpress"],"acf":[],"additional_meta":{"category_title":[{"term_id":166,"name":"Website","slug":"website","term_group":0,"term_taxonomy_id":166,"taxonomy":"category","description":"About your Website(s)","parent":0,"count":169,"filter":"raw","term_order":"120","cat_ID":166,"category_count":169,"category_description":"About your Website(s)","cat_name":"Website","category_nicename":"website","category_parent":0}],"tag_title":[{"term_id":23825,"name":"wp","slug":"wp","term_group":0,"term_taxonomy_id":23825,"taxonomy":"post_tag","description":"","parent":0,"count":1,"filter":"raw","term_order":"207"},{"term_id":23822,"name":"slow","slug":"slow","term_group":0,"term_taxonomy_id":23822,"taxonomy":"post_tag","description":"","parent":0,"count":1,"filter":"raw","term_order":"208"},{"term_id":18465,"name":"optimise","slug":"optimise","term_group":0,"term_taxonomy_id":18465,"taxonomy":"post_tag","description":"","parent":0,"count":1,"filter":"raw","term_order":"1969"},{"term_id":18450,"name":"wordpress plugins","slug":"wordpress-plugins","term_group":0,"term_taxonomy_id":18450,"taxonomy":"post_tag","description":"","parent":0,"count":1,"filter":"raw","term_order":"1970"},{"term_id":18453,"name":"Plugin cleanup","slug":"plugin-cleanup","term_group":0,"term_taxonomy_id":18453,"taxonomy":"post_tag","description":"","parent":0,"count":1,"filter":"raw","term_order":"1971"},{"term_id":18456,"name":"Optimise WordPress","slug":"optimise-wordpress","term_group":0,"term_taxonomy_id":18456,"taxonomy":"post_tag","description":"","parent":0,"count":1,"filter":"raw","term_order":"1972"},{"term_id":18459,"name":"site is slow","slug":"site-is-slow","term_group":0,"term_taxonomy_id":18459,"taxonomy":"post_tag","description":"","parent":0,"count":1,"filter":"raw","term_order":"1973"},{"term_id":18462,"name":"slow website","slug":"slow-website","term_group":0,"term_taxonomy_id":18462,"taxonomy":"post_tag","description":"","parent":0,"count":3,"filter":"raw","term_order":"1974"},{"term_id":755,"name":"optimise database","slug":"optimise-database","term_group":0,"term_taxonomy_id":755,"taxonomy":"post_tag","description":"","parent":0,"count":4,"filter":"raw","term_order":"2779"},{"term_id":24,"name":"WordPress","slug":"wordpress","term_group":0,"term_taxonomy_id":24,"taxonomy":"post_tag","description":"","parent":0,"count":11,"filter":"raw","term_order":"3028"}]},"featured_image_src":null,"author_info":{"display_name":"marketing","author_link":"https:\/\/xneelo.co.za\/help-centre\/author\/marketing\/","author_avatar":"https:\/\/secure.gravatar.com\/avatar\/a6ea315e112423b2b955cb020fbce2b0835956c6ad85ff0f13f1db298977eaaa?s=96&d=mm&r=g"},"_links":{"self":[{"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/posts\/16861","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/comments?post=16861"}],"version-history":[{"count":0,"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/posts\/16861\/revisions"}],"wp:attachment":[{"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/media?parent=16861"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/categories?post=16861"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/tags?post=16861"},{"taxonomy":"topics","embeddable":true,"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/topics?post=16861"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}