Servage Magazine

Information about YOUR hosting company – where we give you a clear picture of what we think and do!

What can you do to speed up your WordPress?

Thursday, October 1st, 2020 by Helge

UntitledWhat is WordPress? At its core, WordPress and easy and  popular way to start your own website or blog; in fact, WordPress accounts for more than 37.6% of all websites on the internet. Yes – more than every fourth website you visit is likely powered by WordPress. It is a very powerful tool which contains plenty of scripts and is associated to a database. Plenty of plug ins can be added which is even increasing the functionality. However, due to it’s complexity, it can be that a WordPress installation is lagging sometimes. Below, you find some recommendations of actions you can try if you experience a slow working WordPress. Please see the list below. If you should have questions related to the points, please contact our support. We are available for you 24/7.

  •  Update WordPress, plugins, PHP to its latest versions.==> Go to Dashboard > Updates or click Please update now to go to the Updates screen and begin the process. If you don’t see the notice or the update list is empty, but you know there is a new version of WordPress available, click Check Again to refresh the list.
  • Delete unwanted plugins, themes.==> Old themes pose security threat as well drag site speed down. You can delete plugins from WordPress Dashboard.
  • Optimize database ==> WordPress is a database driven site. Over period of time, lots of garbage data gets collected which should be cleaned regularly. Plugin ‘Advanced Database Cleaner’ can do it for you.
  • Minify and optimize images ==> Large Images take time to download and you must use plugins like  WP Smush (Free) or EWWW Image Optimizer (Free) to optimize the images
  • Minify CSS,HTML and JavaScript==> This technique works by reducing the file size of HTML, JavaScript and CSS files, and works to remove unnecessary characters, like spaces, line breaks, and comments. The result is a reduced amount of data transfer required so that files run quicker and your web pages load faster.There are a number of plugins built to minify code. Autoptimize is one of the top rated free plugins for this task. You might also try the premium plugin WP Rocket which helps with site optimization, including minification. CSS Compressor is another good option that simplifies CSS code.
  • Lazy load long pages==>Lazy Loading essentially prevents the elements lower down on your page from being loaded until the visitor scrolls down to see them. By not loading all of the content of your long page at once, this allows your site to begin rendering faster. A common plugin used for this would be BJ Lazy Load.
  • Use CDN ==> A CDN leads to faster page load times because when configured, your website will use an optimized server that’s closest to your site visitor. Alos it will mitigate DDos attacks to your site.
  • Introduce pagination of comments ==> Pagination is another trick to speed up WordPress websites. You can apply this process to the comments section and posts or pages with a lot of content. By splitting them, you can avoid jamming up the site’s bandwidth and overwhelming visitors with a ton of information.
  • Disable Hotlinking ==> Hotlinking means displaying an image on a website by linking to the website hosting the image. The link gets the source data of the picture each time it is needed. Someone else may be using your site resouces to display images on your site. This will therefore increase the page load time and also add to the bandwidth usage of your hosting account
  • Reduce Redirects and Post Revisions==> Unnecessary redirects, such as 301 redirects and redirect chains, can really slow things down. This is therefore advisable to remove such redirects and Post Revisions
  • Enable GZip compression ==> By enabling Gzip compression, you can reduce the retrieval time of website data from the server to your visitor’s browser. In other words, your website will load much faster. There are plenty of free Gzip compression test tools like CleverStat and GiftOfSpeed that can check whether your site has it on
  • Disable WordPress Hearbeat ==> The easiest way to disable WordPress Heartbeat is to install the Heartbeat Control plugin, view the settings, and modify the Heartbeat interval in the dashboard, frontend, or post editor, or disable it completely. Other methods include adding a few lines of code to your functions.php file or using a plugin that already has an disable Heartbeat option like WP Rocket or LiteSpeed.
  • Disable WordPress crons ==> WordPress uses a file called wp-cron.php as a virtual cron job, or scheduled task in order to automate things like publishing scheduled posts, checking for plugin or theme updates, sending email notifications and more. We can easily tell WordPress to let us handle the execution of wp-cron.php with the wp-config.php file.Open your wp-config.php file with the cPanel File Manager Code Editor
    Go to the bottom of the database settings in wp-config.php typically around line 37. Add the code: define(‘DISABLE_WP_CRON’, ‘true’);
    Click Save
  • Use Caching plugins ==> Plugins like W3-Total-Cache and WP-Rocket enable caching for the WordPress pages. You can enable these pluging and configure for your account.
What can you do to speed up your WordPress?, 5.0 out of 5 based on 11 ratings
Categories: Guides & Tutorials
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

No comments yet (leave a comment)

You are welcome to initiate a conversation about this blog entry.

Leave a comment

You must be logged in to post a comment.