{"id":1505,"date":"2020-05-18T09:05:19","date_gmt":"2020-05-18T09:05:19","guid":{"rendered":"https:\/\/webnus.net\/kata\/documentation\/?p=1505"},"modified":"2020-12-22T20:40:22","modified_gmt":"2020-12-22T20:40:22","slug":"kata-speed","status":"publish","type":"post","link":"https:\/\/webnus.net\/kata\/documentation\/kata-speed\/","title":{"rendered":"Kata Speed"},"content":{"rendered":"\r\n<p>Improving speed and optimizing the website has always been the main concern for WordPress users. Normally, 80% of users can reach favorable results using optimization plugins. But what about that 20%? It is always a technical problem in the theme or plugin that reduces loading speeds. Not only this makes your website load slower, but it also uses more resources from the host every time the website loads.<\/p>\r\n\r\n\r\n\r\n<p>In Kata, all the codes are optimized to solve the issue for that 20% of users.<\/p>\r\n\r\n\r\n\r\n<p>To increase page speed, there are several things that need to be considered.<\/p>\r\n\r\n\r\n\r\n<p>1. Optimizing images used on the website<\/p>\r\n\r\n\r\n\r\n<p>2. Using lazyload for images and iframes on the website<\/p>\r\n\r\n\r\n\r\n<p>3. Minify &amp; merge for CSS files<\/p>\r\n\r\n\r\n\r\n<p>4. Minify &amp; merge for Javascript files<\/p>\r\n\r\n\r\n\r\n<p>5. Minify for the generated HTML<\/p>\r\n\r\n\r\n\r\n<p>6. Remove Query Strings<\/p>\r\n\r\n\r\n\r\n<p>7. Gzip compression<\/p>\r\n\r\n\r\n\r\n<p>8. Plugin management to prevent plugin codes from loading on unrelated pages<\/p>\r\n\r\n\r\n\r\n<p>9. Viewing static content instead of dynamic content<\/p>\r\n\r\n\r\n\r\n<p>10. Using Cloudflare or another CDN to shorten the path to your website server for users<\/p>\r\n\r\n\r\n\r\n<p>Everything that has to do with speed is possible with powerful plugins such as W3 Total Cache, WP Rocket, Autoptimize, LiteSpeed Cache, WP Fastest Cache, and Swift Performance. Depending on the policies of the author, some of these options are placed in non-free versions.<\/p>\r\n\r\n\r\n\r\n<p>But we suggest Swift Performance to Kate users. This plugin has been recently added to the optimization plugins of WordPress repository. In a short while, Swift Performance has been able to do magic for its users. We recommend this plugin because:<\/p>\r\n\r\n\r\n\r\n<p>1. \u00a0 \u00a0 It shows static content instead of dynamic content to your users. In simpler terms, it creates an HTML-i of your website and displays that to the user when needed.<\/p>\r\n\r\n\r\n\r\n<p>2. \u00a0 \u00a0 Using its onboard Plugin Organizer tool, you can limit where plugins load.<\/p>\r\n\r\n\r\n\r\n<p>We have used Swift Performance Pro to improve the speed of our demos. We have also prepared a file to upload pretested settings for Kata users. Please note that the import file below is for the pro version of the Swift Performance plugin.<\/p>\r\n\r\n\r\n\r\n<p><strong><span class=\"has-inline-color has-vivid-cyan-blue-color\"><a href=\"https:\/\/webnus.net\/kata\/documentation\/wp-content\/uploads\/2020\/05\/swift-performance-settings-pro.zip\" target=\"_blank\" rel=\"noreferrer noopener\">Downloading settings file for Swift Performance Pro\u00a0<\/a><\/span><\/strong><\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/webnus.net\/kata\/documentation\/wp-content\/uploads\/2020\/05\/kt-speed-01.png\"><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter wp-image-1508 size-full\" src=\"https:\/\/webnus.net\/kata\/documentation\/wp-content\/uploads\/2020\/05\/kt-speed-01.png\" alt=\"\" width=\"1268\" height=\"670\" srcset=\"https:\/\/webnus.net\/kata\/documentation\/wp-content\/uploads\/2020\/05\/kt-speed-01.png 1268w, https:\/\/webnus.net\/kata\/documentation\/wp-content\/uploads\/2020\/05\/kt-speed-01-300x159.png 300w, https:\/\/webnus.net\/kata\/documentation\/wp-content\/uploads\/2020\/05\/kt-speed-01-1024x541.png 1024w, https:\/\/webnus.net\/kata\/documentation\/wp-content\/uploads\/2020\/05\/kt-speed-01-768x406.png 768w\" sizes=\"(max-width: 1268px) 100vw, 1268px\" \/><\/a><\/figure>\r\n\r\n\r\n\r\n<p>Users that wish to use the free version of this plugin can download the settings file below and use Swift Performance importer to import the settings.<\/p>\r\n\r\n\r\n\r\n<p><strong><span class=\"has-inline-color has-vivid-cyan-blue-color\"><a href=\"https:\/\/webnus.net\/kata\/documentation\/wp-content\/uploads\/2020\/05\/swift-performance-settings-lite.zip\" target=\"_blank\" rel=\"noreferrer noopener\">Downloading settings file for Swift Performance Lite<\/a><\/span><\/strong><\/p>\r\n\r\n\r\n\r\n<p><strong><strong>NOTE<\/strong>:<\/strong> Unzip the downloaded file and upload the JSON file to Swift Performance importer.<\/p>\r\n\r\n\r\n\r\n<p>After completing the steps above, you can test your website speed using two-speed test motors and compare the results. The results won\u2019t match because they use different algorithms.<\/p>\r\n\r\n\r\n\r\n<p><strong>Optimizing images<\/strong><\/p>\r\n\r\n\r\n\r\n<p>After testing, you might get results that say image sizes are too big, and you need to optimize the images and upload them again.<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/webnus.net\/kata\/documentation\/wp-content\/uploads\/2020\/05\/kt-speed-02.png\"><img decoding=\"async\" class=\"aligncenter wp-image-1509 size-full\" src=\"https:\/\/webnus.net\/kata\/documentation\/wp-content\/uploads\/2020\/05\/kt-speed-02.png\" alt=\"\" width=\"715\" height=\"623\" srcset=\"https:\/\/webnus.net\/kata\/documentation\/wp-content\/uploads\/2020\/05\/kt-speed-02.png 715w, https:\/\/webnus.net\/kata\/documentation\/wp-content\/uploads\/2020\/05\/kt-speed-02-300x261.png 300w\" sizes=\"(max-width: 715px) 100vw, 715px\" \/><\/a><\/figure>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/webnus.net\/kata\/documentation\/wp-content\/uploads\/2020\/05\/kt-speed-03.png\"><img decoding=\"async\" class=\"aligncenter wp-image-1510 size-full\" src=\"https:\/\/webnus.net\/kata\/documentation\/wp-content\/uploads\/2020\/05\/kt-speed-03.png\" alt=\"\" width=\"983\" height=\"329\" srcset=\"https:\/\/webnus.net\/kata\/documentation\/wp-content\/uploads\/2020\/05\/kt-speed-03.png 983w, https:\/\/webnus.net\/kata\/documentation\/wp-content\/uploads\/2020\/05\/kt-speed-03-300x100.png 300w, https:\/\/webnus.net\/kata\/documentation\/wp-content\/uploads\/2020\/05\/kt-speed-03-768x257.png 768w\" sizes=\"(max-width: 983px) 100vw, 983px\" \/><\/a><\/figure>\r\n\r\n\r\n\r\n<p>There are a few ways to optimize images.<\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>Using Image Optimizer of Swift Performance plugin (Pro version)<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/webnus.net\/kata\/documentation\/wp-content\/uploads\/2020\/05\/kt-speed-04.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1511 size-full\" src=\"https:\/\/webnus.net\/kata\/documentation\/wp-content\/uploads\/2020\/05\/kt-speed-04.png\" alt=\"\" width=\"1440\" height=\"656\" srcset=\"https:\/\/webnus.net\/kata\/documentation\/wp-content\/uploads\/2020\/05\/kt-speed-04.png 1440w, https:\/\/webnus.net\/kata\/documentation\/wp-content\/uploads\/2020\/05\/kt-speed-04-300x137.png 300w, https:\/\/webnus.net\/kata\/documentation\/wp-content\/uploads\/2020\/05\/kt-speed-04-1024x466.png 1024w, https:\/\/webnus.net\/kata\/documentation\/wp-content\/uploads\/2020\/05\/kt-speed-04-768x350.png 768w\" sizes=\"(max-width: 1440px) 100vw, 1440px\" \/><\/a><\/figure>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>Using image optimization websites such as:\r\n<ol>\r\n<li><a href=\"https:\/\/tinypng.com\/\">https:\/\/tinypng.com\/<\/a><\/li>\r\n<li><a href=\"https:\/\/compresspng.com\/\">https:\/\/compresspng.com\/<\/a><\/li>\r\n<li><a href=\"https:\/\/compressjpeg.com\/\">https:\/\/compressjpeg.com\/<\/a><\/li>\r\n<\/ol>\r\n<\/li>\r\n<li>Using WP plugins that are made for optimizing images such as:\r\n<ol>\r\n<li><a href=\"https:\/\/wordpress.org\/plugins\/wp-smushit\/\">Smush \u2013 Compress, Optimize and Lazy Load Images<\/a><\/li>\r\n<li><a href=\"https:\/\/wordpress.org\/plugins\/ewww-image-optimizer\/\">EWWW Image Optimizer<\/a><\/li>\r\n<li><a href=\"https:\/\/wordpress.org\/plugins\/tiny-compress-images\/\">Compress JPEG &amp; PNG images<\/a><\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p>&nbsp;<\/p>\r\n\r\n\r\n\r\n<p><strong>Note:<\/strong> If you are using Contact form 7 plugin, it is recommended to use &#8220;Smart Enqueue Assets&#8221; from Plugins &gt; Contact form 7 in Swift Performance Settings.<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/webnus.net\/kata\/documentation\/wp-content\/uploads\/2020\/12\/kt-speed-22.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2189 size-full\" src=\"https:\/\/webnus.net\/kata\/documentation\/wp-content\/uploads\/2020\/12\/kt-speed-22.jpg\" alt=\"\" width=\"810\" height=\"584\" srcset=\"https:\/\/webnus.net\/kata\/documentation\/wp-content\/uploads\/2020\/12\/kt-speed-22.jpg 810w, https:\/\/webnus.net\/kata\/documentation\/wp-content\/uploads\/2020\/12\/kt-speed-22-300x216.jpg 300w, https:\/\/webnus.net\/kata\/documentation\/wp-content\/uploads\/2020\/12\/kt-speed-22-768x554.jpg 768w, https:\/\/webnus.net\/kata\/documentation\/wp-content\/uploads\/2020\/12\/kt-speed-22-20x14.jpg 20w\" sizes=\"(max-width: 810px) 100vw, 810px\" \/><\/a><\/figure>\r\n","protected":false},"excerpt":{"rendered":"<p>Improving speed and optimizing the website has always been the main concern for WordPress users. Normally, 80% of users can reach favorable results using optimization plugins. But what about that 20%? It is always a technical problem in the theme or plugin that reduces loading speeds. Not only this makes your website load slower, but [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":1508,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23,33],"tags":[],"class_list":["post-1505","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-faq","category-speed"],"_links":{"self":[{"href":"https:\/\/webnus.net\/kata\/documentation\/wp-json\/wp\/v2\/posts\/1505","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webnus.net\/kata\/documentation\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webnus.net\/kata\/documentation\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webnus.net\/kata\/documentation\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/webnus.net\/kata\/documentation\/wp-json\/wp\/v2\/comments?post=1505"}],"version-history":[{"count":0,"href":"https:\/\/webnus.net\/kata\/documentation\/wp-json\/wp\/v2\/posts\/1505\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webnus.net\/kata\/documentation\/wp-json\/wp\/v2\/media\/1508"}],"wp:attachment":[{"href":"https:\/\/webnus.net\/kata\/documentation\/wp-json\/wp\/v2\/media?parent=1505"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webnus.net\/kata\/documentation\/wp-json\/wp\/v2\/categories?post=1505"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webnus.net\/kata\/documentation\/wp-json\/wp\/v2\/tags?post=1505"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}