{"id":5274,"date":"2018-05-26T10:57:15","date_gmt":"2018-05-26T08:57:15","guid":{"rendered":"https:\/\/florianbrinkmann.com\/en\/?p=5274"},"modified":"2020-02-09T10:59:31","modified_gmt":"2020-02-09T09:59:31","slug":"wordpress-performance-elasticsearch","status":"publish","type":"post","link":"https:\/\/florianbrinkmann.com\/en\/wordpress-performance-elasticsearch-5274\/","title":{"rendered":"Better WordPress performance through the use of Elasticsearch"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Recently I needed to improve the performance of a WooCommerce installation with multiple 10,000 products. On regular WordPress pages, performance was already good \u2013 the performance issues occurred on product archive pages. The post \u00bb<a href=\"http:\/\/chrislema.com\/scale-woocommerce\/\">What does it take to scale WooCommerce?<\/a>\u00ab by Chris Lema contained the tip to use <a href=\"https:\/\/www.elastic.co\/\">Elasticsearch<\/a>, that can be integrated via <a href=\"https:\/\/wordpress.org\/plugins\/elasticpress\/\">ElasticPress<\/a> that also supports WooCommerce. After that, WordPress uses Elasticsearch instead of the MySQL database for querying content.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Read and tested, and the result: a significant improvement of load time, now below one second \u26a1<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So if you are having issues with load speed on larger installations, where the database seems to be the bottleneck, try using Elasticsearch \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently I needed to improve the performance of a WooCommerce installation with multiple 10,000 products. On regular WordPress pages, performance was already good \u2013 the performance issues occurred on product archive pages. The post \u00bbWhat does it take to scale WooCommerce?\u00ab by Chris Lema contained the tip to use Elasticsearch, that can be integrated via [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"wpf_show_in_dewp_planet_feed":false,"flobn_post_versions":"","webmentions_disabled_pings":false,"webmentions_disabled":false,"lazy_load_responsive_images_disabled":false,"footnotes":""},"categories":[37],"tags":[],"class_list":["post-5274","post","type-post","status-publish","format-standard","hentry","category-wordpress"],"wp-worthy-pixel":{"ignored":false,"public":null,"server":null,"url":null},"wp-worthy-type":"normal","_links":{"self":[{"href":"https:\/\/florianbrinkmann.com\/en\/wp-json\/wp\/v2\/posts\/5274","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/florianbrinkmann.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/florianbrinkmann.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/florianbrinkmann.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/florianbrinkmann.com\/en\/wp-json\/wp\/v2\/comments?post=5274"}],"version-history":[{"count":2,"href":"https:\/\/florianbrinkmann.com\/en\/wp-json\/wp\/v2\/posts\/5274\/revisions"}],"predecessor-version":[{"id":5779,"href":"https:\/\/florianbrinkmann.com\/en\/wp-json\/wp\/v2\/posts\/5274\/revisions\/5779"}],"wp:attachment":[{"href":"https:\/\/florianbrinkmann.com\/en\/wp-json\/wp\/v2\/media?parent=5274"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/florianbrinkmann.com\/en\/wp-json\/wp\/v2\/categories?post=5274"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/florianbrinkmann.com\/en\/wp-json\/wp\/v2\/tags?post=5274"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}