{"id":449,"date":"2019-12-13T06:58:00","date_gmt":"2019-12-13T06:58:00","guid":{"rendered":"http:\/\/oceanthemes.net\/docs\/progrisaas\/?p=449"},"modified":"2019-12-13T06:58:00","modified_gmt":"2019-12-13T06:58:00","slug":"5-site-speed","status":"publish","type":"post","link":"https:\/\/docs.oceanthemes.site\/makaffo\/5-site-speed\/","title":{"rendered":"5. Site Speed"},"content":{"rendered":"\n<p>There are many things can slow down your website or speed it up. As a side note, these are not ordered by importance or any criteria, We\u2019ve just gathered everything we\u2019ve learned around how to speed up WordPress page loads and listed them all here.<\/p>\n\n\n\n<p>This is what we done on our demo site to improve the loading time. You could try to follow it to improve your website\u2019s speed.<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li><strong>Choose a good host.<\/strong>\nWhen starting out, a shared host might seem like a bargain if you don\u2019t have too many visitor. We are using a hosting of&nbsp;<a href=\"https:\/\/billing.stablehost.com\/aff.php?aff=6792\" target=\"_blank\" rel=\"noreferrer noopener\">Stablehost<\/a>&nbsp;for our demo site. But if you have more than 1000 visitors per day, you should use a VPS, or at least a higher plan of a sharing hosting.<\/li><li><strong>Use an effective caching plugin.<\/strong>\nWordPress plugins are obviously quite useful, but some of the best fall under the caching category, as they drastically improve page loads time, and best of all, all of them on WordPress.org are free and easy to use.\nWe are using&nbsp;<a href=\"https:\/\/wordpress.org\/plugins\/wp-super-cache\/\" target=\"_blank\" rel=\"noreferrer noopener\">WP Super Cache<\/a>&nbsp;for our demo site. Beside this plugin,&nbsp;<a href=\"https:\/\/wordpress.org\/extend\/plugins\/w3-total-cache\/\" target=\"_blank\" rel=\"noreferrer noopener\">W3 Total Cache<\/a>&nbsp;is also another good choice.<\/li><li><strong>Combining CSS, JS and HTML.<\/strong>\nUsing&nbsp;<a href=\"https:\/\/wordpress.org\/plugins\/autoptimize\/\" target=\"_blank\" rel=\"noreferrer noopener\">Autoptimize<\/a>&nbsp;for combining CSS, JS and HTML. Even the cache plugin supports combining those files, but sometime it break JS scripts. Therefore we usually using this plugin for better combining and minifying files.<\/li><li><strong>Use a content delivery network (CDN).<\/strong>\nEssentially, a CDN, or content delivery network, takes all your static files you\u2019ve got on your site (CSS, Javascript and images etc) and lets visitors download them as fast as possible by serving the files on servers as close to them as possible.<\/li><li><strong>Optimize images (automatically)<\/strong>\nYahoo! has an image optimizer called Smush.it that will drastically reduce the file size of an image, while not reducing quality. However, if you are like me, doing this to every image would be beyond a pain, and incredibly time consuming. Fortunately, there is an amazing, free plugin called&nbsp;<a href=\"https:\/\/wordpress.org\/extend\/plugins\/wp-smushit\/\" target=\"_blank\" rel=\"noreferrer noopener\">WP-SmushIt<\/a>&nbsp;which will do this process to all of your images automatically, as you are uploading them. No reason not to install this one.<\/li><li><strong>Add Expires headers to your files.<\/strong>\nIf you test your webstie speed on some tools, like GTmetrix, you will get a notice about adding expires headers. You can follow&nbsp;<a href=\"https:\/\/gtmetrix.com\/add-expires-headers.html\" target=\"_blank\" rel=\"noreferrer noopener\">this tutorial<\/a>&nbsp;to add it to your website.<\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"other-resouses\">Other resouses<\/h2>\n\n\n\n<p>You could easily found many tutorials on internet that telling about how to optimize your website\u2019s speed. There are some we found:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li><a href=\"https:\/\/www.sparringmind.com\/speed-up-wordpress\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.sparringmind.com\/speed-up-wordpress\/<\/a><\/li><li><a href=\"http:\/\/www.wpbeginner.com\/wordpress-performance-speed\/\" target=\"_blank\" rel=\"noreferrer noopener\">http:\/\/www.wpbeginner.com\/wordpress-performance-speed\/<\/a><\/li><li><a href=\"https:\/\/premium.wpmudev.org\/blog\/speeding-up-wordpress\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/premium.wpmudev.org\/blog\/speeding-up-wordpress\/<\/a><\/li><li><a href=\"https:\/\/websitesetup.org\/how-to-speed-up-wordpress\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/websitesetup.org\/how-to-speed-up-wordpress\/<\/a><\/li><li><a href=\"https:\/\/www.keycdn.com\/blog\/speed-up-wordpress\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.keycdn.com\/blog\/speed-up-wordpress\/<\/a><\/li><\/ol>\n","protected":false},"excerpt":{"rendered":"<p>There are many things can slow down your website or speed it up. As a side note, these are not ordered by importance or any criteria, We\u2019ve just gathered everything we\u2019ve learned around how to speed up WordPress page loads and listed them all here. This is what we done on our demo site to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-449","post","type-post","status-publish","format-standard","hentry","category-getting-started"],"_links":{"self":[{"href":"https:\/\/docs.oceanthemes.site\/makaffo\/wp-json\/wp\/v2\/posts\/449","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.oceanthemes.site\/makaffo\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.oceanthemes.site\/makaffo\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.oceanthemes.site\/makaffo\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.oceanthemes.site\/makaffo\/wp-json\/wp\/v2\/comments?post=449"}],"version-history":[{"count":0,"href":"https:\/\/docs.oceanthemes.site\/makaffo\/wp-json\/wp\/v2\/posts\/449\/revisions"}],"wp:attachment":[{"href":"https:\/\/docs.oceanthemes.site\/makaffo\/wp-json\/wp\/v2\/media?parent=449"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.oceanthemes.site\/makaffo\/wp-json\/wp\/v2\/categories?post=449"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.oceanthemes.site\/makaffo\/wp-json\/wp\/v2\/tags?post=449"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}