{"id":73,"date":"2020-06-14T15:39:30","date_gmt":"2020-06-14T15:39:30","guid":{"rendered":"https:\/\/yegara.com\/en\/guide\/?p=73"},"modified":"2020-06-15T10:23:32","modified_gmt":"2020-06-15T10:23:32","slug":"optimize-your-website-upto-12x-faster","status":"publish","type":"post","link":"https:\/\/yegara.com\/en\/guide\/optimize-your-website-upto-12x-faster\/","title":{"rendered":"Optimize Your Website upto 12X Faster !"},"content":{"rendered":"\n<p>In this guide, I\u2019ll explain what you can do to boost website performance and optimize for speed. There are many options and ways to achieve a faster website. Below is our suggested way so let&#8217;s get started.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>1 ) Test Your Site\u2019s Current Speed<\/strong><\/h2>\n\n\n\n<p>First we must examine your own site and see how well it\u2019s currently performing. There are free tools you can use to quickly gather this information. We will use&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/gtmetrix.com\/\" target=\"_blank\">GTMetrix&nbsp;<\/a>for this purpose as it provides more in-depth metrics and even offers optimization suggestions based on your results.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"708\" height=\"245\" src=\"https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2020\/06\/wp_optimize_gtmetrix.jpg\" alt=\"\" class=\"wp-image-76\" srcset=\"https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2020\/06\/wp_optimize_gtmetrix.jpg 708w, https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2020\/06\/wp_optimize_gtmetrix-300x104.jpg 300w\" sizes=\"auto, (max-width: 708px) 100vw, 708px\" \/><\/figure>\n\n\n\n<p>Start a test by entering your site\u2019s URL on the home page and selecting&nbsp;<strong>Analyze<\/strong>. Since this test is a little more thorough, it can take slightly more time to complete.<\/p>\n\n\n\n<p>When the test has concluded, you\u2019ll get access to a lot of data. You\u2019ll see how quickly your site loads, as well as other data, including the overall size.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"769\" height=\"327\" src=\"https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2020\/06\/image-1.png\" alt=\"\" class=\"wp-image-84\" srcset=\"https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2020\/06\/image-1.png 769w, https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2020\/06\/image-1-300x128.png 300w\" sizes=\"auto, (max-width: 769px) 100vw, 769px\" \/><\/figure>\n\n\n\n<p>Remember to run this test a few times as well to get a reliable average result. Once you\u2019ve done that, you\u2019ll have a solid idea of how well your site is currently performing.<\/p>\n\n\n\n<p>Armed with that information, it\u2019s finally time to see how you can make your site faster.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>What Data To Focus on<\/strong><\/h3>\n\n\n\n<p>GTMetrix provides you with lots of data, if you have the time you can go through each and every request to achieve a perfectly optimized site. The Main Data you should focus on are&nbsp;<strong>Total Page Size<\/strong>&nbsp;and&nbsp;<strong>Number of Request<\/strong>&nbsp;.<\/p>\n\n\n\n<p>From our result you can see that our site is pretty much optimized and fast. Using a High quality template and plugin from trusted sources has big impact. So when you decide to use a template make sure it is designed well.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Requests<\/strong><\/h4>\n\n\n\n<p>This is the number of resources your page fetches from the server to open a single page to yoru user . This includes your&nbsp;<strong>css, js, images, fonts<\/strong>&nbsp;and other resources.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Total Page Size<\/strong><\/h4>\n\n\n\n<p>Having a large page size affects how fast your user sees your content depending on their connection type. If they on 3G or slower connection opening a small site takes very long.<\/p>\n\n\n\n<p>Mostly what contributes to Huge page size are&nbsp;<strong>images<\/strong>. To find out how much image contribute to your site go to the<strong>&nbsp;\u201cwaterfall\u201d&nbsp;<\/strong>tab and select&nbsp;<strong>\u2018images\u2019<\/strong>&nbsp;this will show you how many images you have and their size.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Your Goals ?<\/strong><\/h3>\n\n\n\n<p>This Depends on the kind of website you have. You can&#8217;t always get an &#8220;A&#8221;, your go to goal should always be  <strong>Make fewer HTTP requests<\/strong>. It is always good to keep your scores below average and aim to get close to the recommendation. <\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><\/td><td>Load Time<\/td><td>Page Size<\/td><td>Request<\/td><\/tr><tr><td>Average<\/td><td>5.6 Sec<\/td><td>3 MB<\/td><td>75<\/td><\/tr><tr><td>Recommended<\/td><td>&lt; <strong>3 Sec<\/strong><\/td><td>&lt; <strong>1 MB<\/strong><\/td><td>&lt; <strong>30<\/strong><\/td><\/tr><\/tbody><\/table><figcaption>* Test Server Region:&nbsp;Vancouver, Canada<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>2) Update PHP<\/strong> Version <\/h2>\n\n\n\n<p>PHP v7.x has significant performance improvements over v5.x &#8211; so you could get a &#8216;easy&#8217; website speed boost just by changing. <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.hostinger.com\/blog\/wp-content\/uploads\/sites\/4\/2019\/12\/php-geometric-mean-of-all-results-1.png\" alt=\"PHP Geometric Mean of All Results\"\/><\/figure>\n\n\n\n<p>Go to &#8220;<strong>Select PHP Version<\/strong>&#8221; in your cpanel<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/files.helpdocs.io\/8nzbvyta9f\/other\/1569136832038\/php-1.jpg\" alt=\"\"\/><\/figure>\n\n\n\n<p>Select <strong>7.4<\/strong> from the drop down list and click on &#8220;<strong>set as current<\/strong>&#8220;.  <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/files.helpdocs.io\/8nzbvyta9f\/articles\/r5povadnfa\/1588837634530\/screenshot-700.jpg\" alt=\"\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>3 ) Configure LiteSpeed Cache plugin<\/strong><\/h2>\n\n\n\n<p>Yegara HOST servers run on &#8220;LiteSpeed Web Server&#8221; Enterprise edition. so we suggest you to use <strong>LiteSpeed Cache&nbsp;<\/strong>plugin for WordPress. This  helps improve WordPress site performance by taking advantage of the LiteSpeed web server&#8217;s built-in page cache to dramatically reduce page load times.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.litespeedtech.com\/images\/charts\/wordpress-performance-server.png\" alt=\"\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>3.1  Install and activate LiteSpeed Cache plugin.<\/strong><\/h3>\n\n\n\n<p>Go to <strong>Plugins &gt;&gt; Add new<\/strong> and search for &#8220;<a href=\"https:\/\/wordpress.org\/plugins\/litespeed-cache\/\">LiteSpeed Cache<\/a>&#8221; Install and activate the plugin.   <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"589\" height=\"225\" src=\"https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2020\/06\/image-2.png\" alt=\"\" class=\"wp-image-88\" srcset=\"https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2020\/06\/image-2.png 589w, https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2020\/06\/image-2-300x115.png 300w\" sizes=\"auto, (max-width: 589px) 100vw, 589px\" \/><\/figure>\n\n\n\n<p>Then go to <strong>LiteSpeed Cache &gt;&gt; General<\/strong> and click on  <strong>&#8220;Request Domain Key&#8221;<\/strong> wait few seconds and refresh the page &#8211; this will set domain key for your account <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"848\" height=\"399\" src=\"https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2020\/06\/image-3.png\" alt=\"\" class=\"wp-image-92\" srcset=\"https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2020\/06\/image-3.png 848w, https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2020\/06\/image-3-300x141.png 300w, https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2020\/06\/image-3-768x361.png 768w\" sizes=\"auto, (max-width: 848px) 100vw, 848px\" \/><\/figure>\n\n\n\n<p>Now You must click the&nbsp;<code>Link to QUIC.cloud<\/code>&nbsp;button if you wish to associate this site with a QUIC.cloud account and follow the prompt to create account. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"792\" height=\"517\" src=\"https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2020\/06\/image-4.png\" alt=\"\" class=\"wp-image-93\" srcset=\"https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2020\/06\/image-4.png 792w, https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2020\/06\/image-4-300x196.png 300w, https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2020\/06\/image-4-768x501.png 768w\" sizes=\"auto, (max-width: 792px) 100vw, 792px\" \/><figcaption>If you need Detailed Guide setting up quic.cloud <a href=\"https:\/\/docs.litespeedtech.com\/products\/lscdn\/onboarding\/\">click here<\/a><\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>3.2  Browser Cache<\/strong><\/h3>\n\n\n\n<p>Browser caching stores static files locally in the user&#8217;s browser. Turn on this setting to reduce repeated requests for static files.<\/p>\n\n\n\n<p>Go to <strong>LiteSpeed Cache &gt;&gt; Cache &gt;&gt; [ 7 ] Browser <\/strong> and Turn <strong>ON<\/strong> Browser cache and hit save changes <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"785\" height=\"346\" src=\"https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2020\/06\/image-5.png\" alt=\"\" class=\"wp-image-94\" srcset=\"https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2020\/06\/image-5.png 785w, https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2020\/06\/image-5-300x132.png 300w, https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2020\/06\/image-5-768x339.png 768w\" sizes=\"auto, (max-width: 785px) 100vw, 785px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">3.3   Page Optimization<\/h3>\n\n\n\n<p>Go to <strong>LiteSpeed Cache &gt;&gt; Page Optimization &gt;&gt; [ 1 ] CSS Settings<\/strong> and turn every setting to <strong>ON<\/strong> and save.   Make sure  &#8220;Generate Critical CSS&#8221; is kept ON  to avoid <a href=\"https:\/\/en.wikipedia.org\/wiki\/Flash_of_unstyled_content\">Flash of Unstyled Content<\/a>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"743\" height=\"448\" src=\"https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2020\/06\/image-6.png\" alt=\"\" class=\"wp-image-96\" srcset=\"https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2020\/06\/image-6.png 743w, https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2020\/06\/image-6-300x181.png 300w\" sizes=\"auto, (max-width: 743px) 100vw, 743px\" \/><figcaption><br><\/figcaption><\/figure>\n\n\n\n<p>Go to <strong>LiteSpeed Cache &gt;&gt; Page Optimization &gt;&gt; [ 2 ] JS Settings<\/strong> and turn every setting to <strong>ON<\/strong> and save. if this causes undesired effect please see <a href=\"https:\/\/docs.litespeedtech.com\/lscache\/lscwp\/overview\/\">https:\/\/docs.litespeedtech.com\/lscache\/lscwp\/overview\/<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2020\/06\/image-7.png\" alt=\"\" class=\"wp-image-97\" width=\"589\" height=\"495\" srcset=\"https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2020\/06\/image-7.png 589w, https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2020\/06\/image-7-300x252.png 300w\" sizes=\"auto, (max-width: 589px) 100vw, 589px\" \/><\/figure>\n\n\n\n<p>Go to <strong>LiteSpeed Cache &gt;&gt; Page Optimization &gt;&gt; [ 3 ] Optimization Settings<\/strong> and we recommend you turn every setting to <strong>ON<\/strong> and save. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"596\" height=\"288\" src=\"https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2020\/06\/image-8.png\" alt=\"\" class=\"wp-image-98\" srcset=\"https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2020\/06\/image-8.png 596w, https:\/\/yegara.com\/en\/guide\/wp-content\/uploads\/2020\/06\/image-8-300x145.png 300w\" sizes=\"auto, (max-width: 596px) 100vw, 596px\" \/><\/figure>\n\n\n\n<p>If you are not seeing the effect when you change your settings you might need to clear your cache. To do that go to <strong>LiteSpeed Cache &gt;&gt; Toolbox &gt;&gt; [ 1 ] purge<\/strong> and click on <strong>Purge All<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/yegara.com\/tutorial\/img\/wp_optimize_10.jpg\" alt=\"LE\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>4 ) Enable Cloudflare<\/strong><\/h2>\n\n\n\n<p>Now to the last part. Enable Cloudflare to improve your site\u2019s speed and security. As everything with WordPress there is a plugin for it, but you can avoid installing additional plugins by using Cloudflare provided in your cPanel<\/p>\n\n\n\n<p><strong>4.1 &#8211; Login to your cPanel and go to Cloudflare under software<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/yegara.com\/tutorial\/img\/wp_optimize_12.jpg\" alt=\"LE\"\/><\/figure>\n\n\n\n<p><strong>4.2 &#8211; Create a Cloudflare account or Login if you already have one<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/yegara.com\/tutorial\/img\/wp_optimize_15.jpg\" alt=\"LE\"\/><\/figure>\n\n\n\n<p><strong>4.3 &#8211; Click on &#8220;Provision domain with CNAME Setup&#8221;<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/yegara.com\/tutorial\/img\/wp_optimize_13.jpg\" alt=\"LE\"\/><\/figure>\n\n\n\n<p>If you can&#8217;t find the Button that says &#8220;provision domain using CNAME&#8221; pleases refer to<a href=\" #comment-10\"> #comment-10<\/a><\/p>\n\n\n\n<p><strong>That is it. <\/strong>If your site started getting you 5XX errors after switching to Cloudflare do the following two steps. Login to your cloudflare account at <a rel=\"noreferrer noopener\" href=\"https:\/\/dash.cloudflare.com\/\" target=\"_blank\"><u>https:\/\/dash.cloudflare.com\/<\/u><\/a><\/p>\n\n\n\n<p>1- Navigate to&nbsp;<strong>SSL\/TLS &gt; Overview<\/strong>&nbsp;and select&nbsp;<strong>&#8220;full (strict)&#8221;<\/strong><br>2. Then&nbsp;<strong>SSL\/TLS &gt;&gt; Edge Certificates<\/strong>&nbsp;And turn on&nbsp;<strong>&#8220;Always Use HTTPS&#8221;<\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Need More ?<\/strong><\/h2>\n\n\n\n<p>There are more settings you can fiddle with in the plugin including <strong>image optimization<\/strong>, but this will suffice for most sites. Here is a detailed guide of the Plugin if you want to investigate further <a rel=\"noreferrer noopener\" href=\"https:\/\/blog.litespeedtech.com\/2017\/11\/22\/wpw-the-beginners-guide-to-litespeed-cache-for-wordpress\/\" target=\"_blank\"><u>https:\/\/blog.litespeedtech.com\/2017\/11\/22\/wpw-the-beginners-guide-to-litespeed-cache-for-wordpress\/<\/u><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this guide, I\u2019ll explain what you can do to boost website performance and optimize for speed. There are many options and ways to achieve a faster website. Below is our suggested way so let&#8217;s get started. 1 ) Test Your Site\u2019s Current Speed First we must examine your own site and see how well [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,4,2],"tags":[],"class_list":["post-73","post","type-post","status-publish","format-standard","hentry","category-how-to","category-performance","category-security"],"_links":{"self":[{"href":"https:\/\/yegara.com\/en\/guide\/wp-json\/wp\/v2\/posts\/73","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yegara.com\/en\/guide\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yegara.com\/en\/guide\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yegara.com\/en\/guide\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/yegara.com\/en\/guide\/wp-json\/wp\/v2\/comments?post=73"}],"version-history":[{"count":32,"href":"https:\/\/yegara.com\/en\/guide\/wp-json\/wp\/v2\/posts\/73\/revisions"}],"predecessor-version":[{"id":150,"href":"https:\/\/yegara.com\/en\/guide\/wp-json\/wp\/v2\/posts\/73\/revisions\/150"}],"wp:attachment":[{"href":"https:\/\/yegara.com\/en\/guide\/wp-json\/wp\/v2\/media?parent=73"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yegara.com\/en\/guide\/wp-json\/wp\/v2\/categories?post=73"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yegara.com\/en\/guide\/wp-json\/wp\/v2\/tags?post=73"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}