
{"id":9828,"date":"2021-12-16T19:15:00","date_gmt":"2021-12-16T16:15:00","guid":{"rendered":"http:\/\/blog.travelpayouts.com\/en\/?p=9828"},"modified":"2023-01-16T23:50:35","modified_gmt":"2023-01-16T20:50:35","slug":"tips-to-speed-up-your-wordpress-site","status":"publish","type":"post","link":"https:\/\/www.travelpayouts.com\/blog\/tips-to-speed-up-your-wordpress-site\/","title":{"rendered":"18 tips to speed up your WordPress site"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">How page speed influences your site success<\/h2>\n\n\n\n<p>No matter how well-designed your website is and what value it brings, slow page speed might leave you with too few readers ready to wait until the site is fully loaded. Here are the main reasons to work on your page speed:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li><strong>Rank higher on Google<\/strong><br>Google, Bing and some other search engines use <a href=\"https:\/\/backlinko.com\/google-ranking-factors\" target=\"_blank\" rel=\"noopener\">page speed as a ranking factor<\/a>. The faster your site loads, the higher it will rank in the SERPs for relevant queries, and the more traffic it will drive.<\/li><li><strong>Reduce bounce rate<\/strong><br>Consumers will leave a site that loads too slow. <a href=\"https:\/\/www.akamai.com\/us\/en\/about\/news\/press\/2009-press\/akamai-reveals-2-seconds-as-the-new-threshold-of-acceptability-for-ecommerce-web-page-response-times.jsp\" target=\"_blank\" rel=\"noopener\">According to research<\/a>, a little less than 50% of consumers expect a web page to load within two second otherwise they\u2019ll bounce off.&nbsp;<\/li><li><strong>Increase conversions<br><\/strong><a href=\"https:\/\/www.cloudflare.com\/learning\/performance\/more\/website-performance-conversion-rates\/#:~:text=How%20does%20site%20speed%20affect,in%20a%20better%20conversion%20rate.\" target=\"_blank\" rel=\"noopener\">Studies have shown<\/a> that page load speed affects conversion rates on the site. Thus, the faster a page loads, the more likely consumers are to commit a desired action. <\/li><\/ol>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69f1577d809f1&quot;}\" data-wp-interactive=\"core\/image\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"944\" height=\"415\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/blog.travelpayouts.com\/en\/wp-content\/uploads\/\/\/2020\/11\/how-to-speed-up-wordpress.png\" alt=\"\" class=\"wp-image-9830\" srcset=\"https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/11\/how-to-speed-up-wordpress.png 944w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/11\/how-to-speed-up-wordpress-300x132.png 300w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/11\/how-to-speed-up-wordpress-768x338.png 768w\" sizes=\"auto, (max-width: 944px) 100vw, 944px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on-async--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>However, even if your site loads within the desired two seconds on your computer, it won\u2019t necessarily do so on other devices. Since you often visit the site, it\u2019s highly likely that browsers store it in the cache and for this very reason it loads fast. First-time visitors won\u2019t have this head start. Thus, don\u2019t skimp on testing your site speed every now and then to see it from the user&#8217;s perspective.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to measure your site speed<\/h2>\n\n\n\n<p>For starters, it would be well worth checking the speed of different pages, as each one of them has different amounts of content and thus requires different time to load. While the homepage can be a benchmark, make sure to also test your top-performing pages.&nbsp;<\/p>\n\n\n\n<p>To see the whole picture, you can check different indicators such as page size, the number of requests it generates, whether caching is enabled and which type of content the page has.&nbsp;<\/p>\n\n\n\n<p>Today, the web abounds with dedicated tools that will check your site speed and help find areas for improvement. For example, world-renowned SEO experts and hosts of our <a href=\"https:\/\/www.youtube.com\/watch?v=Ydo2jbvxXSE\" target=\"_blank\" rel=\"noopener\">Traffic Show<\/a> Jason Barnard and Tristam Jarman recommend trying out <a href=\"https:\/\/www.pingdom.com\/\" target=\"_blank\" rel=\"noopener\">Pingdom<\/a>, <a href=\"https:\/\/gtmetrix.com\/\" target=\"_blank\" rel=\"noopener\">GTmetrix<\/a>, and <a href=\"https:\/\/developers.google.com\/speed\/pagespeed\/insights\/\" target=\"_blank\" rel=\"noopener\">PageSpeed Insights<\/a>. These tools will show all the speed issues your site faces and will also explain what they mean. Identify main issues that slow down the site and work on them in the first place. If these bugs are out of your expertise, make sure to delegate them to a developer.&nbsp;<\/p>\n\n\n\n<p>It\u2019s highly advisable to run testing on a regular basis (at least once a month) to monitor how blog updates affect its loading time as well as keep test scores saved and analyze them in dynamics.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">18 tricks to speed up your WordPress site<\/h2>\n\n\n\n<p>Below, we\u2019ve gathered 18 tips to make your WordPress site run as fast as ever before that most webmasters can apply without handing their site over to a developer.&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Switch to a reliable server<\/h3>\n\n\n\n<p><a href=\"https:\/\/blog.travelpayouts.com\/en\/best-wordpress-hosting-comparison\/\">Quality server hosting<\/a> is often half the battle when it comes to WordPress page speed optimization. Ideally, its capacity should correspond to your traffic volume, so that at peak hours the server can bear the load and won\u2019t crash. This is not the case, though, of shared hostings, which often provide one server for hundreds or even thousands other sites, and at peak traffic periods just can\u2019t give clients all the resources that they need.&nbsp;<\/p>\n\n\n\n<p>Thus, if your site has a rather large audience, make sure to splurge on a good quality hosting, especially given that it doesn\u2019t usually cost that much. Also, when choosing one, look not only at its price but other parameters influencing the performance as well, such as RAM (random-access memory), CPU cores, and so on.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Upgrade WordPress version<\/h3>\n\n\n\n<p>When was the last time you upgraded WordPress? The platform releases updates every few months to decrease vulnerabilities and help sites perform better, so keep up and regularly check for upgrades. They\u2019ll provide your blog with extended functionality, higher security, and less bugs.&nbsp;<\/p>\n\n\n\n<p>Pay attention that WordPress always has two releases\u2014the latest one, which is likely to have bugs, and another, more stable one, with some of the bugs already fixed. To ensure WordPress performance tuning and avoid deficiencies, go with the second one.&nbsp;<\/p>\n\n\n\n<p>If you\u2019re still wondering \u201cWhy is my wordpress site slow?\u201d remember to update other platform components as well, such as the theme, plugins, etc. By failing to do so, you\u2019ll only increase your site vulnerability.&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Remove unnecessary plugins<\/h3>\n\n\n\n<p>Webmasters often use too many plugins, increasing backup size and cluttering the site files. To avoid WordPress slow loading, run thorough review and remove non-essential plugins.<\/p>\n\n\n\n<p>Instead, you can download one premium plugin such as <a href=\"https:\/\/wp-rocket.me\/\" target=\"_blank\" rel=\"noopener\">WP Rocket<\/a> with all necessary functions or integrate third-party tools that will help automate some tasks. For example, use <a href=\"https:\/\/blog.travelpayouts.com\/en\/free-social-media-management-tools\/\">free social media management tools<\/a> to schedule and manage posts on Facebook or Instagram. Or, integrate one of <a href=\"https:\/\/blog.travelpayouts.com\/en\/best-email-marketing-tools\/\">these marketing platforms<\/a> to set up your email marketing campaign.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Switch to a lighter theme<\/h3>\n\n\n\n<p>Themes greatly influence the overall site performance and can also be a reason for your WordPress site running slow. The more dynamic elements your theme has, the higher the page size, and the slower it loads. What you can do is carefully check the theme before installing or switching to a lighter one. Any of default WordPress themes will run smoothly, but you can also check a list of the best <a href=\"https:\/\/blog.travelpayouts.com\/en\/wordpress-themes-for-affiliate-marketing\/\">WordPress themes for affiliate marketing<\/a>, with necessary integrations.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Optimize images<\/h3>\n\n\n\n<p>The next step to make WordPress faster is to reduce the size of media files on your site, as they increase page weight and slow down the loading speed. Rather than getting rid of all pictures that make your site so appealing, be sure to reduce their size, which can enhance WordPress page speed optimization. Below, you can see the difference in image formats and their sizes:<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69f1577d80fff&quot;}\" data-wp-interactive=\"core\/image\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"550\" height=\"342\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/blog.travelpayouts.com\/en\/wp-content\/uploads\/\/\/2020\/11\/how-to-speed-up-wordpress-1.png\" alt=\"\" class=\"wp-image-9831\" srcset=\"https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/11\/how-to-speed-up-wordpress-1.png 550w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/11\/how-to-speed-up-wordpress-1-300x187.png 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on-async--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>You can use compression tools like <a href=\"https:\/\/jpeg-optimizer.com\/\" target=\"_blank\" rel=\"noopener\">JPEG Optimizer<\/a>, <a href=\"https:\/\/imagecompressor.com\/\" target=\"_blank\" rel=\"noopener\">Optimizilla<\/a>, <a href=\"https:\/\/kraken.io\/\" target=\"_blank\" rel=\"noopener\">Kraken.io<\/a>, or install one of image optimization plugins such as <a href=\"https:\/\/wordpress.org\/plugins\/optimole-wp\/\" target=\"_blank\" rel=\"noopener\">Optimole<\/a>, <a href=\"https:\/\/wordpress.org\/plugins\/wp-smushit\/\" target=\"_blank\" rel=\"noopener\">WP Smush<\/a>, <a href=\"https:\/\/wordpress.org\/plugins\/shortpixel-image-optimiser\/\" target=\"_blank\" rel=\"noopener\">Shortpixel<\/a> or <a href=\"https:\/\/wordpress.org\/plugins\/imagify\/\" target=\"_blank\" rel=\"noopener\">Imagify<\/a>, to name a few.&nbsp; Optimization is especially important for images above the fold. Even if you enable lazy loading, these media files will load as usual, which can slow down the page.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Embed videos<\/h3>\n\n\n\n<p>Embedding will also make WordPress site load faster, as videos won\u2019t take up your server space. Uploading them, on the other hand, can increase backup size, cost bandwidth and lead to your WordPress site loading slowly.&nbsp;<\/p>\n\n\n\n<p>Embedding allows for simply displaying the video on your site, while the file is hosted on a separate server and doesn\u2019t slow down the site performance. Where can you upload videos? While the most popular platform today is <a href=\"https:\/\/www.youtube.com\/\" target=\"_blank\" rel=\"noopener\">YouTube<\/a>, you can also try <a href=\"https:\/\/vimeo.com\/\" target=\"_blank\" rel=\"noopener\">Vimeo<\/a>, <a href=\"https:\/\/soundcloud.com\/\" target=\"_blank\" rel=\"noopener\">SoundCloud<\/a> or other solutions.<\/p>\n\n\n\n<p>Upload your video to a dedicated platform, copy its URL and paste it to the relevant post, so WordPress will automatically embed the video instead of storing it in the database.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Enable lazy loading<\/h3>\n\n\n\n<p>If you\u2019re asking \u201cWhy is my WordPress site so slow?\u201d even after optimizing media files, it\u2019s time to enable lazy loading. This feature allows for downloading only the elements that the user will see on their screen, while other files will be loaded when the user scrolls down the page. Lazy loading is applicable to images, videos, iframes, comments, and other page elements.&nbsp;<\/p>\n\n\n\n<p>To enable this feature and speed up WordPress sites, install <a href=\"https:\/\/blog.hubspot.com\/website\/top-free-lazy-load-image-plugins\" target=\"_blank\" rel=\"noopener\">dedicated plugins<\/a> like <a href=\"https:\/\/wordpress.org\/plugins\/rocket-lazy-load\/\" target=\"_blank\" rel=\"noopener\">Lazy Load by WP Rocket<\/a>. Note that some themes lazy-load files by default, starting from WordPress 5.5, and if that\u2019s not your case, <a href=\"https:\/\/wptips.dev\/lazyload-without-plugin\/\" target=\"_blank\" rel=\"noopener\">set up the feature<\/a> manually. Remember that lazy load won\u2019t reduce the size of featured images and other files above the fold, so make sure to optimize them anyway.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Choose a fast DNS provider<\/h3>\n\n\n\n<p>To avoid WordPress slow loading, you can also upgrade your DNS provider. DNS stands for Domain Name System and is often referred to as a phone book of the internet, hosting records of IP addresses and domain names, tied to them. So, every time a user types in a site\u2019s name, the DNS provider checks the IP address for this domain to send the user to. This process takes time, and free DNS providers are often slow to respond. What you can do is switch to a more reliable service, for example, Cloudflare. It runs very fast and is free to use.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Use caching<\/h3>\n\n\n\n<p>Caching allows for temporary storage of file copies, which helps deliver them to visitors more efficiently. And if you\u2019re looking for tips on how to speed up your WordPress site, caching can make it two, three, or even five times faster. So, how does it work? Instead of generating a page for every time a new visitor opens your site, caching tools make a copy of this page and then serve its cached version to all future visitors.<\/p>\n\n\n\n<p>To avoid WordPress slow loading, make use of one of the dedicated plugins such as <a href=\"https:\/\/wp-rocket.me\/\" target=\"_blank\" rel=\"noopener\">WP Rocket<\/a>, <a href=\"https:\/\/wordpress.org\/plugins\/wp-super-cache\/\" target=\"_blank\" rel=\"noopener\">WP Super Cache<\/a>,&nbsp; <a href=\"https:\/\/wordpress.org\/plugins\/w3-total-cache\/\" target=\"_blank\" rel=\"noopener\">W3 Total Cache<\/a>, <a href=\"https:\/\/wordpress.org\/plugins\/cachify\/\" target=\"_blank\" rel=\"noopener\">Cachify<\/a>, etc. Caching is also provided by some hosting services such as <a href=\"https:\/\/www.siteground.com\/wordpress-hosting.htm\" target=\"_blank\" rel=\"noopener\">SiteGround<\/a> or <a href=\"https:\/\/www.hostinger.com\/wordpress-hosting\" target=\"_blank\" rel=\"noopener\">Hostinger<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Clean up database<\/h3>\n\n\n\n<p>Why is WordPress so slow despite all optimization tricks? Perhaps, you haven\u2019t cleaned up your database yet! This is the place where all the site data is stored, including configuration settings. Sometimes, it gets packed with too much information, some of which is no longer needed but could slow down WordPress speed. For example, it can be spam comments on your blog, old post drafts, fake user accounts, and so on. By deleting such data, you\u2019ll also make your site backups smaller in size and faster to implement.&nbsp;<\/p>\n\n\n\n<p><a href=\"https:\/\/www.wpbeginner.com\/plugins\/how-to-clean-up-your-wordpress-database-for-improved-performance\/\" target=\"_blank\" rel=\"noopener\">In this tutorial by WordPress<\/a>, you\u2019ll learn how to clean up your database and optimize site performance.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Optimize CSS files<\/h3>\n\n\n\n<p>CSS files (Cascading Style Sheet) control how HTML elements are displayed on the page: size, fonts, color, spacing, etc. They are stored as a plain text, which can be edited in any text editing program. Minimizing CSS files will allow you to greatly improve the site performance. Many webmaster tools like Google PageSpeed Insights display the size of CSS and JS files on the site, so you\u2019ll know about the issue when auditing your site.<\/p>\n\n\n\n<p>How to optimize WordPress through CSS files? First, you can edit CSS manually on web development platforms like ColdFusion Builder or Dreamweaver (they offer advanced features in comparison with a simple text editor). Second, install a dedicated plugin, for example, <a href=\"https:\/\/wordpress.org\/plugins\/autoptimize\/\" target=\"_blank\" rel=\"noopener\">Autoptimize<\/a>, which will help reduce not only CSS but also HTML and JS on your blog.&nbsp;<\/p>\n\n\n\n<p>Depending on your protocol, you can also combine CSS files to increase WordPress speed. HTTP 1.1 loads files consecutively, so each next file starts loading only after the full load of a previous one. You can combine scripts to short the load time. On the other hand, HTTP 2 loads files simultaneously, so combining them won\u2019t affect the speed much. You can check your site\u2019s protocol via <a href=\"https:\/\/tools.keycdn.com\/http2-test\" target=\"_blank\" rel=\"noopener\">KeyCDN Tester<\/a> and combine CSS files with dedicated plugins like <a href=\"https:\/\/wp-rocket.me\/\" target=\"_blank\" rel=\"noopener\">WP Rocket<\/a>.<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69f1577d815b3&quot;}\" data-wp-interactive=\"core\/image\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"587\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/blog.travelpayouts.com\/en\/wp-content\/uploads\/\/\/2020\/11\/how-to-speed-up-wordpress-2-1024x587.png\" alt=\"\" class=\"wp-image-9832\" srcset=\"https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/11\/how-to-speed-up-wordpress-2-1024x587.png 1024w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/11\/how-to-speed-up-wordpress-2-300x172.png 300w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/11\/how-to-speed-up-wordpress-2-768x440.png 768w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/11\/how-to-speed-up-wordpress-2.png 1535w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on-async--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Set up JS files loading<\/h3>\n\n\n\n<p>Just like CSS files, JavaScript code can also be optimized to speed up WordPress sites. Here is what you can do:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>If you\u2019re using jQuery Migrate and there are no issues with it, simply disable the tool to not overload the script.<\/li><li>Reduce the size of JS files. In this case, you\u2019ll need to remove whitespace and comments.&nbsp;<\/li><li>Defer JavaScript loading. Thus, more important content like HTML will be delivered first, followed by JS files.&nbsp;<\/li><\/ul>\n\n\n\n<p>Please note that optimizing JavaScript might break stuff on your site, so make sure to test its functionality following the changes.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Use a content delivery network (CDN)<\/h3>\n\n\n\n<p>A content delivery network (CDN) is a grid of servers all over the world helping deliver your site\u2019s content faster. Basically, when a user opens your site, they\u2019ll be directed to the nearest server with your site\u2019s caching files so it can load quicker. If your visitors are somewhere close in proximity to your hosting server, then using a CDN won\u2019t influence the loading speed so much as if they were located quite far away, so sites with a global audience will benefit the most.&nbsp;<\/p>\n\n\n\n<p>Some of the most popular CDN platforms are <a href=\"https:\/\/www.cloudflare.com\/\" target=\"_blank\" rel=\"noopener\">Cloudflare<\/a> and <a href=\"https:\/\/www.stackpath.com\/maxcdn\/\" target=\"_blank\" rel=\"noopener\">MaxCDN<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Reduce database calls<\/h3>\n\n\n\n<p>While it\u2019s very convenient to store all site information inside a database, the calls that the site makes can take up a lot of server resources and slow down loading.&nbsp;<\/p>\n\n\n\n<p>There are a few ways to reduce database requests. First, make sure you\u2019re using a well-coded WordPress theme that makes only effective calls. For this reason, it\u2019s better to install one of WordPress default or premium themes.&nbsp;<\/p>\n\n\n\n<p>Second, you can use one of the caching plugins, so the server won\u2019t have to call the database for the same information.<\/p>\n\n\n\n<p>Finally, it\u2019s possible to <a href=\"https:\/\/www.inmotionhosting.com\/support\/website\/reduce-database-calls-to-improve-website-performance\/\" target=\"_blank\" rel=\"noopener\">reduce database calls manually<\/a>, but it requires knowledge of PHP scripts.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Display blog post excerpts&nbsp;<\/h3>\n\n\n\n<p>Displaying full posts on your homepage or archives is disadvantageous for two reasons. First, the page is overloaded with information, so it will take longer to display all elements. Second, as readers will see the whole post right away, they won\u2019t need to actually open it, which will decrease your site\u2019s page views and visit duration.<\/p>\n\n\n\n<p>To prevent this, be sure to display excerpts rather than full posts. Just go to your WordPress dashboard, open \u201cSettings,\u201d then \u201cReading\u201d and choose \u201cSummary\u201d instead of \u201cFull text.\u201d<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69f1577d81a60&quot;}\" data-wp-interactive=\"core\/image\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"550\" height=\"260\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/blog.travelpayouts.com\/en\/wp-content\/uploads\/\/\/2020\/11\/how-to-speed-up-wordpress-3.png\" alt=\"\" class=\"wp-image-9833\" srcset=\"https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/11\/how-to-speed-up-wordpress-3.png 550w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/11\/how-to-speed-up-wordpress-3-300x142.png 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on-async--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Turn off pingbacks and trackbacks<\/h3>\n\n\n\n<p>Another potential solution is to shut off pingbacks and trackbacks. These elements alert the site owner about the latest backlinks. While it\u2019s useful for marketing, one can track links in Google Webmaster Tools or other programs instead of clogging your site\u2019s dashboard. This function can also make your site more vulnerable to DDoS attacks.<\/p>\n\n\n\n<p>To turn off pingbacks and trackbacks, click \u201cSettings\u201d and then \u201cDiscussion.\u201d There, you can disallow link notifications and make WordPress faster.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Break comments into pages<\/h3>\n\n\n\n<p>How to speed up WordPress sites that have plenty of comments? While it\u2019s a benchmark of audience\u2019s engagement, too many of them can reduce site\u2019s loading speed.&nbsp; What you can do is split comments into pages, so when a user opens a post, they won\u2019t have to wait until all the comments are loaded.&nbsp;<\/p>\n\n\n\n<p>Open your WordPress dashboard, click \u201cSettings,\u201d then \u201cDiscussion\u201d and select \u201cBreak comments into pages.\u201d There, you can also choose the number of comments to be displayed per page.<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69f1577d81ded&quot;}\" data-wp-interactive=\"core\/image\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"550\" height=\"181\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/blog.travelpayouts.com\/en\/wp-content\/uploads\/\/\/2020\/11\/how-to-speed-up-wordpress-4.png\" alt=\"\" class=\"wp-image-9834\" srcset=\"https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/11\/how-to-speed-up-wordpress-4.png 550w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2020\/11\/how-to-speed-up-wordpress-4-300x99.png 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on-async--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Enable GZIP compression<\/h3>\n\n\n\n<p>Just like you compress files to save space on your computer, GZIP compression allows for decreasing the bandwidth for your site and improves its loading speed. The software will compress files on your site, so when a visitor opens it, their browser will have to unzip these files first. You can compress your site with dedicated plugins such as <a href=\"https:\/\/wordpress.org\/plugins\/psn-pagespeed-ninja\/\" target=\"_blank\" rel=\"noopener\">PageSpeed Ninja<\/a> or <a href=\"https:\/\/wordpress.org\/plugins\/enable-gzip-compression\/\" target=\"_blank\" rel=\"noopener\">Enable Gzip Compression<\/a>.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>While there are plenty of reasons for slow loading, this is most frequently due to slow connectivity, caching, page size or some technical reasons. Make sure to work on these issues first, test your site speed again, and look at other parameters if still necessary. In some cases, it\u2019s better to hire a developer to make the appropriate fixes if you don\u2019t have the skills yourself. Last but not least, check your site speed regularly to be sure that all the site updates don\u2019t slow down its loading. Keep the scores after each audit so that you can compare them with original benchmarks and see progress.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WIth <a href=\"https:\/\/www.internetlivestats.com\/total-number-of-websites\/\" target=\"_blank\" rel=\"noopener noreferrer\">1.8 billion websites<\/a> available on the internet today, speeding up your blog is important to stay competitive. Fast loading also helps improve ranking on Google and increase conversions. But blog speed is not only about how fast the homepage loads on your computer, it also includes other pages and compatibility with various devices. This ultimate guide will teach you how to best measure your site speed and then improve it with 18 tricks that don&#8217;t require much technical skills.  <\/p>\n","protected":false},"author":9,"featured_media":10885,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_eb_attr":"","footnotes":""},"categories":[7],"tags":[416,47,55],"class_list":["post-9828","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-advices","tag-speed","tag-website","tag-wordpress"],"acf":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.travelpayouts.com\/blog\/wp-json\/wp\/v2\/posts\/9828","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.travelpayouts.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.travelpayouts.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.travelpayouts.com\/blog\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.travelpayouts.com\/blog\/wp-json\/wp\/v2\/comments?post=9828"}],"version-history":[{"count":7,"href":"https:\/\/www.travelpayouts.com\/blog\/wp-json\/wp\/v2\/posts\/9828\/revisions"}],"predecessor-version":[{"id":18318,"href":"https:\/\/www.travelpayouts.com\/blog\/wp-json\/wp\/v2\/posts\/9828\/revisions\/18318"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.travelpayouts.com\/blog\/wp-json\/wp\/v2\/media\/10885"}],"wp:attachment":[{"href":"https:\/\/www.travelpayouts.com\/blog\/wp-json\/wp\/v2\/media?parent=9828"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.travelpayouts.com\/blog\/wp-json\/wp\/v2\/categories?post=9828"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.travelpayouts.com\/blog\/wp-json\/wp\/v2\/tags?post=9828"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}