{"id":5433,"date":"2017-06-05T06:00:23","date_gmt":"2017-06-05T10:00:23","guid":{"rendered":"http:\/\/blog.litespeedtech.com\/?p=5433"},"modified":"2017-06-05T06:00:23","modified_gmt":"2017-06-05T10:00:23","slug":"litemage-2-for-magento-2","status":"publish","type":"post","link":"https:\/\/lswp.store\/index.php\/2017\/06\/05\/litemage-2-for-magento-2\/","title":{"rendered":"LiteMage 2 for Magento 2"},"content":{"rendered":"<p>In a previous\u00a0<a href=\"http:\/\/blog.litespeedtech.com\/2016\/04\/08\/litemage-2-for-magento-2-released-litemage-goes-open-source\/\">blog post<\/a>, we briefly discussed the release of <a href=\"https:\/\/github.com\/litespeedtech\/magento2-LiteSpeed_LiteMage\">LiteMage 2<\/a> for Magento 2 and its improvements over Varnish and Magento 2\u2019s built-in PageCache module. Today, I&#8217;d like to elaborate on a few of those improvements.<\/p>\n<p><strong>Simplifying Your Stack<\/strong><br \/>\n<img decoding=\"async\" class=\"aligncenter size-full wp-image-7281\" src=\"http:\/\/blog.litespeedtech.com\/wp-content\/uploads\/2016\/07\/old_post_1.png\" alt=\"\" width=\"1000\" srcset=\"https:\/\/lswp.store\/wp-content\/uploads\/2016\/07\/old_post_1.png 1000w, https:\/\/lswp.store\/wp-content\/uploads\/2016\/07\/old_post_1-300x240.png 300w, https:\/\/lswp.store\/wp-content\/uploads\/2016\/07\/old_post_1-768x614.png 768w, https:\/\/lswp.store\/wp-content\/uploads\/2016\/07\/old_post_1-600x480.png 600w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><br \/>\nThe above diagram is a comparison of the basic setup for Magento using Nginx + Varnish and LiteSpeed Web Server (LSWS) + LiteMage Cache. You can clearly see that with just the basics on both sides, your Magento stack&#8217;s complexity is halved when you switch from Nginx + Varnish to LSWS + LiteMage. As is also mentioned above, flush instructions cause extra overhead by design in Nginx + Varnish while LSWS + LiteMage include the flush instruction in the same response header, meaning no extra cost when flushing the cache.<\/p>\n<p><strong>Performance<\/strong><\/p>\n<p>We&#8217;ve received a very positive response to LiteMage 2. This is, in part, because LiteMage 2 completely replaces Varnish, supports the same configuration for publicly cached items, and improves on Varnish&#8217;s performance.<\/p>\n<p>LiteSpeed + LiteMage outperforms Nginx + Varnish:<\/p>\n<ul>\n<li>reducing server load,<\/li>\n<li>cutting CPU Usage,<\/li>\n<li>and running more transactions per second.<\/li>\n<\/ul>\n<p>We also have plans to further improve upon Magento 2&#8217;s performance, providing an even bigger performance gain when compared to Varnish.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Your Magento stack&#8217;s complexity is halved when you switch from Nginx + Varnish to LiteSpeed Web Server + LiteMage. See how.<\/p>\n","protected":false},"author":1,"featured_media":7569,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[25,27,28,20],"tags":[175],"class_list":["post-5433","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-litemage","category-web-server","category-cache","category-performance","tag-magento"],"jetpack_featured_media_url":"https:\/\/lswp.store\/wp-content\/uploads\/2017\/06\/old_post_1-1.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/posts\/5433","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/comments?post=5433"}],"version-history":[{"count":0,"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/posts\/5433\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/media\/7569"}],"wp:attachment":[{"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/media?parent=5433"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/categories?post=5433"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lswp.store\/index.php\/wp-json\/wp\/v2\/tags?post=5433"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}