{"id":33829,"date":"2020-07-06T11:22:02","date_gmt":"2020-07-06T16:22:02","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=33829"},"modified":"2022-12-29T10:22:33","modified_gmt":"2022-12-29T16:22:33","slug":"how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu-20-04-vps","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu-20-04-vps\/","title":{"rendered":"How to Speed Up WordPress and Boost Performance on an Ubuntu 20.04 VPS"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><p><img decoding=\"async\" class=\"alignnone size-full wp-image-33914\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/06\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu20.04-vps.jpg\" alt=\"\" width=\"742\" height=\"372\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/06\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu20.04-vps.jpg 742w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/06\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu20.04-vps-300x150.jpg 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/06\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu20.04-vps-150x75.jpg 150w\" sizes=\"(max-width: 742px) 100vw, 742px\" \/><\/p>\n<p><img decoding=\"async\" class=\"alignright size-full wp-image-33915\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/06\/speed-performance-increase-guide-for-wordpress-on-ubuntu20.04-vps.jpg\" alt=\"\" width=\"120\" height=\"120\" \/>WordPress is one of the most popular open-source content management systems around the globe. It&#8217;s one of the easiest blogging platforms to get started with, as evidenced by over 35.2% of all websites being powered by WordPress. If you are already a webmaster or a blog owner, then speeding up and boosting the performance of your website should be one of your top priorities. In this tutorial, we will show you some useful tips to speed up any WordPress website, as well as explain why it&#8217;s important to do so.<\/p>\n<p><!--more--><\/p>\n<p>There are several reasons why you should speed up your WordPress website.<\/p>\n<p>Search engines (like Google) now include site speed in their ranking algorithm, which means the websites with faster loading times will rank more highly than websites with slower load times. According to the Microsoft Bing search team, only a 2 second delay in page loading will reduce user satisfaction by 3.8% and reduce clicks by 4.3%. Website speed will also impact on your online business and reduce your site visitor.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69efdf7c8efd0\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"ez-toc-cssicon\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69efdf7c8efd0\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu-20-04-vps\/#Use-a-Content-Delivery-Network\" >Use a Content Delivery Network<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu-20-04-vps\/#Optimize-images\" >Optimize images<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu-20-04-vps\/#Keep-Your-WordPress-Site-Updated\" >Keep Your WordPress Site Updated<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu-20-04-vps\/#Use-a-Lightweight-Theme\" >Use a Lightweight Theme<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu-20-04-vps\/#Disable-Hot-linking\" >Disable Hot-linking<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu-20-04-vps\/#Use-the-Latest-PHP-Version\" >Use the Latest PHP Version<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu-20-04-vps\/#Disable-Unwanted-Plugins\" >Disable Unwanted Plugins<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu-20-04-vps\/#Cleanup-WordPress-Database\" >Cleanup WordPress Database<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu-20-04-vps\/#Enable-GZIP-compression\" >Enable GZIP compression<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu-20-04-vps\/#Enable-Leverage-Browser-Caching\" >Enable Leverage Browser Caching<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu-20-04-vps\/#Limit-Post-Revisions\" >Limit Post Revisions<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu-20-04-vps\/#Use-a-Caching-Plugin\" >Use a Caching Plugin<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Use-a-Content-Delivery-Network\"><\/span>Use a Content Delivery Network<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>CDNs, also known as a Content Delivery Networks are a network of servers located around the world designed to host and keep a copy of your website in various data centers located in different geographic locations. A \u00a0CDN serves your WordPress site\u2019s static content such as images, CSS, JavaScript, and video streams to a visitor from the nearest possible location. The location closest to your site visitor is what will serve the content &#8211; the close location allows for lower latency and faster load times, regardless of the visitor&#8217;s location.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Optimize-images\"><\/span>Optimize images<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Images bring life to your content and help you to increase your website visitors and make your sites more content-rich. Image optimization is another trick you can do which will have a significant impact on your overall page load times.<\/p>\n<p>Unoptimized images will slow down your website, no matter what. To prevent this, before uploading any images, you should reduce the size of the images without compromising on the quality. You can decrease your image size by up to 5x using any compression software like Adobe Photoshop or Affinity Photo. However, you can also perform these tasks automatically through the use of WordPress plugins. Having smaller image sizes will allow for faster load times, which ensures that your page times won&#8217;t be hung up by waiting for a large photo to load.<\/p>\n<p>There are several file types you can choose before compressing images like, JPEG and PNG. You should use JPEG for images with lots of color and PNG for simple images, or ones that need background transparency.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Keep-Your-WordPress-Site-Updated\"><\/span>Keep Your WordPress Site Updated<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Another tips to increase your site speed is to update WordPress regularly. Each update will not always offer new features, but it will fix bugs and security issues. So it is recommended to keep your WordPress site, theme, and plugins updated to the latest versions. Additionally, if you use <a href=\"https:\/\/www.rosehosting.com\/wordpress-hosting.html\">WordPress VPS Hosting<\/a>, keeping your server packages (like your PHP version) updated is important in keeping everything as snappy as possible.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Use-a-Lightweight-Theme\"><\/span>Use a Lightweight Theme<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>There are lots of themes available in the WordPress market. Avoid using themes with a lot of dynamic content, such as widgets, sliders, sidebars, etc. Using them in moderation may be okay, but having lots of elements shown at one time can really take a toll on loading speeds. It is recommended to use a lightweight theme or an optimized theme\u00a0at the very least. If you want more features while maintaining performance, then you should use themes that are built on <a href=\"https:\/\/www.rosehosting.com\/bootstrap-hosting\/\">Bootstrap<\/a> and Foundation.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Disable-Hot-linking\"><\/span>Disable Hot-linking<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Hot-linking is a form of bandwidth. It occurs when other websites serve your images directly from their URLs on your website, instead of uploading them to their own servers. In simple terms, they steal your web hosting bandwidth and you don\u2019t get any traffic coming to your pages.<\/p>\n<p>To prevent this, you just need to add the following code to your WordPress <code>.htaccess<\/code> file. This will prevent other sites from using your images on their pages.<\/p>\n<pre>RewriteEngine on\r\nRewriteCond %{HTTP_REFERER} !^$\r\nRewriteCond %{HTTP_REFERER} !^http(s)?:\/\/(www\\.)?yourdomain.com [NC]\r\nRewriteCond %{HTTP_REFERER} !^http(s)?:\/\/(www\\.)?feeds2.feedburner.com\/yourdomain [NC]\r\nRewriteRule \\.(jpg|jpeg|png|gif)$ \u2013 [NC,F,L]\r\n<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Use-the-Latest-PHP-Version\"><\/span>Use the Latest PHP Version<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>WordPress is written in the PHP language &#8211; which means that all WordPress instances use a PHP hosting server. Sometimes, it is possible that your hosting company is running an older PHP version, or your server simply has an outdated version installed. Usually, the latest PHP version is faster and more secure than its previous version. Make sure to keep your PHP version up-to-date to help boost the performance of your website.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Disable-Unwanted-Plugins\"><\/span>Disable Unwanted Plugins<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>There are lots of plugins available on the WordPress market. Installing unwanted plugins on your WordPress websites may affect your site\u2019s performance. Having additional unnecessary plugins installed will also increase the size of your backup and put a larger amount of load on your server while taking a backup or serving website content. So it is recommended to uninstall any unnecessary plugins from your WordPress website.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Cleanup-WordPress-Database\"><\/span>Cleanup WordPress Database<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Whenever you install WordPress plugins or themes, new tables are added to the database. After deleting unused plugins, the tables stay behind. This will increase the size of the WordPress database over time and may impact WordPress&#8217; database performance, and in conjunction, your website performance. This makes it a good idea to clean up your WordPress site regularly. Your database accumulates a lot of extra data, such as revisions, spam comments, trashed comments, data from plugins you are no longer using, and more. Database cleanup process removes all of this unnecessary data. This can significantly reduce your database size which speeds up your backup process.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Enable-GZIP-compression\"><\/span>Enable GZIP compression<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>GZIP is a file format and software application used for file compression and decompression. It is enabled on the server-side and reduces the size of your HTML, stylesheets, and JavaScript files. Enabling GZIP compression will dramatically reduce the bandwidth usage and the time it takes to gain access to your website.<\/p>\n<p>To enable GZIP compression, just add the following lines to your WordPress <code>.htaccess<\/code> file:<\/p>\n<pre>&lt;IfModule mod_deflate.c&gt;\r\n  # Compress HTML, CSS, JavaScript, Text, XML and fonts\r\n  AddOutputFilterByType DEFLATE application\/javascript\r\n  AddOutputFilterByType DEFLATE application\/rss+xml\r\n  AddOutputFilterByType DEFLATE application\/vnd.ms-fontobject\r\n  AddOutputFilterByType DEFLATE application\/x-font\r\n  AddOutputFilterByType DEFLATE application\/x-font-opentype\r\n  AddOutputFilterByType DEFLATE application\/x-font-otf\r\n  AddOutputFilterByType DEFLATE application\/x-font-truetype\r\n  AddOutputFilterByType DEFLATE application\/x-font-ttf\r\n  AddOutputFilterByType DEFLATE application\/x-javascript\r\n  AddOutputFilterByType DEFLATE application\/xhtml+xml\r\n  AddOutputFilterByType DEFLATE application\/xml\r\n  AddOutputFilterByType DEFLATE font\/opentype\r\n  AddOutputFilterByType DEFLATE font\/otf\r\n  AddOutputFilterByType DEFLATE font\/ttf\r\n  AddOutputFilterByType DEFLATE image\/svg+xml\r\n  AddOutputFilterByType DEFLATE image\/x-icon\r\n  AddOutputFilterByType DEFLATE text\/css\r\n  AddOutputFilterByType DEFLATE text\/html\r\n  AddOutputFilterByType DEFLATE text\/javascript\r\n  AddOutputFilterByType DEFLATE text\/plain\r\n  AddOutputFilterByType DEFLATE text\/xml\r\n  # Remove browser bugs (only needed for really old browsers)\r\n  BrowserMatch ^Mozilla\/4 gzip-only-text\/html\r\n  BrowserMatch ^Mozilla\/4\\.0[678] no-gzip\r\n  BrowserMatch \\bMSIE !no-gzip !gzip-only-text\/html\r\n  Header append Vary User-Agent\r\n&lt;\/IfModule&gt;\r\n<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Enable-Leverage-Browser-Caching\"><\/span>Enable Leverage Browser Caching<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Browser caching is a technique that allows a browser to store cacheable resources such as, CSS, JavaScript, and Images locally for a certain period of time. This allows the browser to only need to download the updated\/new resources when accessing the same website again. This will help in reducing HTTP requests, which load pages faster and also improves server response time.<\/p>\n<p>If your website is hosted on the Apache web server, you can enable the leverage browser caching by adding the following lines in your WordPress <code>.htaccess<\/code> file:<\/p>\n<pre>&lt;IfModule mod_expires.c&gt;\r\n  ExpiresActive On\r\n  ExpiresByType image\/jpg \"access 1 year\"\r\n  ExpiresByType image\/jpeg \"access 1 year\"\r\n  ExpiresByType image\/gif \"access 1 year\"\r\n  ExpiresByType image\/png \"access 1 year\"\r\n  ExpiresByType text\/css \"access 1 month\"\r\n  ExpiresByType text\/html \"access 1 month\"\r\n  ExpiresByType application\/pdf \"access 1 month\"\r\n  ExpiresByType text\/x-javascript \"access 1 month\"\r\n  ExpiresByType application\/x-shockwave-flash \"access 1 month\"\r\n  ExpiresByType image\/x-icon \"access 1 year\"\r\n  ExpiresDefault \"access 1 month\"\r\n&lt;\/IfModule&gt;\r\n<\/pre>\n<p>If your website is hosted on the Nginx web server, add the following lines in your Nginx virtual host configuration file:<\/p>\n<pre>location ~*  \\.(jpg|jpeg|png|gif|ico|css|js)$ {\r\n  expires 365d;\r\n}\r\n<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Limit-Post-Revisions\"><\/span>Limit Post Revisions<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>When you save a new post or page in WordPress, it creates a revision. This will help if you need to revert the post to the previous version. However, post revisions take up space in your WordPress database. This will slow down your site by searching them unnecessarily. Therefore it is recommended to limit or disable the revisions altogether. Limiting them would be ideal if you need to quickly go through previous iterations of your content.<\/p>\n<p>To limit revisions, you can add the following code to your WordPress <code>wp-config.php<\/code> file.<\/p>\n<pre>define('WP_POST_REVISIONS', 5);<\/pre>\n<p>To disable revisions, you can add the following code to your WordPress <code>wp-config.php<\/code> file.<\/p>\n<pre>define('WP_POST_REVISIONS', false);<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Use-a-Caching-Plugin\"><\/span>Use a Caching Plugin<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Caching is one of the simplest and easiest methods to speed up your WordPress site. Caching tells the server to store files such as images, CSS, and JavaScript to the disk or RAM. When any user revisits the same page again, content can be served from the cache. This will reduce the amount of work required to generate a page view and your web pages will load much faster, directly from the cache.<\/p>\n<p>If your hosting provider doesn\u2019t provide a cache, you can use one of several third-party WordPress caching plugins, including WP Rocket, Cache Enabler, or W3 Total Cache.<\/p>\n<p>These are the best ways to improve the performance of your WordPress site. By combining these, there should be a noticeable difference in the responsiveness and speed of your website, which will also help boost your rankings in search results.<\/p>\n<hr \/>\n<p><img decoding=\"async\" class=\"alignleft size-full wp-image-33916\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/06\/optimized-wordpress-vps-fully-managed-support.jpg\" alt=\"\" width=\"120\" height=\"120\" \/>Of course, you don\u2019t have to speed up your WordPress on your Ubuntu 20.04 server by yourself if you use one of our <a href=\"https:\/\/www.rosehosting.com\/ubuntu-hosting.html\">Managed Ubuntu Hosting<\/a> solutions, in which case you can simply ask our expert Linux admins to speed up and optimize your WordPress instance for you. They are available 24\u00d77 and will take care of your request immediately. You might want to consider reading our post regarding <a href=\"https:\/\/www.rosehosting.com\/blog\/improve-speed-and-rank-of-wordpress-website\/\">How to Improve the Speed and Rank of a WordPress Website<\/a>.<\/p>\n<p><span style=\"color: #ff0000;\"><strong>PS.<\/strong><\/span> If you liked this post on how to optimize and speed up WordPress on Ubuntu 20.04, please share it with your friends on the social networks using the share shortcuts below, or simply leave a comment in the comments section. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WordPress is one of the most popular open-source content management systems around the globe. It&#8217;s one of the easiest blogging &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to Speed Up WordPress and Boost Performance on an Ubuntu 20.04 VPS\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu-20-04-vps\/#more-33829\" aria-label=\"Read more about How to Speed Up WordPress and Boost Performance on an Ubuntu 20.04 VPS\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":33914,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1709,1710,21,13,1698],"tags":[158,775,59,148],"class_list":["post-33829","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-caching","category-cms-crm-erp","category-tips-and-tricks","category-tutorials","category-ubuntu","tag-optimization","tag-speed","tag-ubuntu","tag-wordpress","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.4 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Speed Up WordPress and Boost Performance on an Ubuntu 20.04 VPS | RoseHosting<\/title>\n<meta name=\"description\" content=\"How to Speed Up WordPress and Boost Performance on an Ubuntu 20.04 VPS | RoseHosting\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu-20-04-vps\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Speed Up WordPress and Boost Performance on an Ubuntu 20.04 VPS\" \/>\n<meta property=\"og:description\" content=\"How to Speed Up WordPress and Boost Performance on an Ubuntu 20.04 VPS | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu-20-04-vps\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2020-07-06T16:22:02+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-12-29T16:22:33+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/06\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu20.04-vps.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"742\" \/>\n\t<meta property=\"og:image:height\" content=\"372\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu-20-04-vps\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu-20-04-vps\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to Speed Up WordPress and Boost Performance on an Ubuntu 20.04 VPS\",\"datePublished\":\"2020-07-06T16:22:02+00:00\",\"dateModified\":\"2022-12-29T16:22:33+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu-20-04-vps\\\/\"},\"wordCount\":1497,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu-20-04-vps\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu20.04-vps.jpg\",\"keywords\":[\"optimization\",\"speed\",\"ubuntu\",\"wordpress\"],\"articleSection\":[\"Caching\",\"CMS, CRM, ERP\",\"Tips and Tricks\",\"Tutorials\",\"Ubuntu\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu-20-04-vps\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu-20-04-vps\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu-20-04-vps\\\/\",\"name\":\"How to Speed Up WordPress and Boost Performance on an Ubuntu 20.04 VPS | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu-20-04-vps\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu-20-04-vps\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu20.04-vps.jpg\",\"datePublished\":\"2020-07-06T16:22:02+00:00\",\"dateModified\":\"2022-12-29T16:22:33+00:00\",\"description\":\"How to Speed Up WordPress and Boost Performance on an Ubuntu 20.04 VPS | RoseHosting\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu-20-04-vps\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu-20-04-vps\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu-20-04-vps\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu20.04-vps.jpg\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu20.04-vps.jpg\",\"width\":742,\"height\":372},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu-20-04-vps\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Speed Up WordPress and Boost Performance on an Ubuntu 20.04 VPS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"name\":\"RoseHosting.com\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/RoseHosting\",\"https:\\\/\\\/x.com\\\/rosehosting\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/rosehosting\\\/\"],\"description\":\"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.\",\"email\":\"info@rosehosting.com\",\"telephone\":\"(314) 275-0414\",\"legalName\":\"Rose Web Services LLC\",\"foundingDate\":\"2001-04-02\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\\\/\\\/www.rosehosting.com\",\"https:\\\/\\\/www.facebook.com\\\/rosehosting.helpdesk\"],\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/author\\\/jwilson\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Speed Up WordPress and Boost Performance on an Ubuntu 20.04 VPS | RoseHosting","description":"How to Speed Up WordPress and Boost Performance on an Ubuntu 20.04 VPS | RoseHosting","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.rosehosting.com\/blog\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu-20-04-vps\/","og_locale":"en_US","og_type":"article","og_title":"How to Speed Up WordPress and Boost Performance on an Ubuntu 20.04 VPS","og_description":"How to Speed Up WordPress and Boost Performance on an Ubuntu 20.04 VPS | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu-20-04-vps\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2020-07-06T16:22:02+00:00","article_modified_time":"2022-12-29T16:22:33+00:00","og_image":[{"width":742,"height":372,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/06\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu20.04-vps.jpg","type":"image\/jpeg"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu-20-04-vps\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu-20-04-vps\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to Speed Up WordPress and Boost Performance on an Ubuntu 20.04 VPS","datePublished":"2020-07-06T16:22:02+00:00","dateModified":"2022-12-29T16:22:33+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu-20-04-vps\/"},"wordCount":1497,"commentCount":0,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu-20-04-vps\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/06\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu20.04-vps.jpg","keywords":["optimization","speed","ubuntu","wordpress"],"articleSection":["Caching","CMS, CRM, ERP","Tips and Tricks","Tutorials","Ubuntu"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu-20-04-vps\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu-20-04-vps\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu-20-04-vps\/","name":"How to Speed Up WordPress and Boost Performance on an Ubuntu 20.04 VPS | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu-20-04-vps\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu-20-04-vps\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/06\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu20.04-vps.jpg","datePublished":"2020-07-06T16:22:02+00:00","dateModified":"2022-12-29T16:22:33+00:00","description":"How to Speed Up WordPress and Boost Performance on an Ubuntu 20.04 VPS | RoseHosting","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu-20-04-vps\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu-20-04-vps\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu-20-04-vps\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/06\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu20.04-vps.jpg","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2020\/06\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu20.04-vps.jpg","width":742,"height":372},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-speed-up-wordpress-and-boost-performance-on-an-ubuntu-20-04-vps\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Speed Up WordPress and Boost Performance on an Ubuntu 20.04 VPS"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting.com","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"],"description":"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.","email":"info@rosehosting.com","telephone":"(314) 275-0414","legalName":"Rose Web Services LLC","foundingDate":"2001-04-02","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/33829","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=33829"}],"version-history":[{"count":9,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/33829\/revisions"}],"predecessor-version":[{"id":44582,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/33829\/revisions\/44582"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/33914"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=33829"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=33829"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=33829"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}