{"id":4135,"date":"2018-05-28T16:57:13","date_gmt":"2018-05-28T16:57:13","guid":{"rendered":"https:\/\/demos.welaunch.io\/wordpress-gdpr\/?post_type=faq&#038;p=1960"},"modified":"2020-06-20T12:28:43","modified_gmt":"2020-06-20T10:28:43","slug":"slow-ajax-calls","status":"publish","type":"faq","link":"https:\/\/www.welaunch.io\/en\/knowledge-base\/faq\/slow-ajax-calls\/","title":{"rendered":"Slow AJAX Calls?"},"content":{"rendered":"<p><strong>Slow WP Admin AJAX calls can be caused because of many factors and it&#8217;s hard to debug them. But here are some indications:<\/strong><\/p>\n<ul>\n<li>Test Location &lt;-&gt; Server Location (too high latency)<\/li>\n<li>Server Performance at All<\/li>\n<li>Too many other plugins (WP AJAX loads all your Plugins before performing the Call)<\/li>\n<li>Blocking Ressources<\/li>\n<\/ul>\n<p>All in all our plugin does not stop the rendering \/ HTML output of your site, because it uses Async Calls (so not bad for Google for example.<\/p>\n<p>For debugging in Chrome for example do not forget to look at which time the AJAX call got queued at. Example:We are located in Germany and the request was queued at 2.62s and took 5.07 till end. So the initial request was 5.07 &#8211; 2.62 = 2,45 seconds. That is depending on my location and server location (in this example SE) &amp; server performance a good value.<\/p>\n<p>On our website (hosted on a Server in Germany with PHP 7.2) the inital request tooks about 300ms:<strong>So what can you do?<\/strong><\/p>\n<ol>\n<li>Check if you are testing from correct location &lt;-&gt; your server location (both should be same or near)<\/li>\n<li>Check if you watch the correct Value<\/li>\n<li>Upgrade PHP to 7<\/li>\n<li>Deactivate some plugins and test again<\/li>\n<li>Last option: Upgrade Server<\/li>\n<\/ol>\n<p>Nothing worked? Contact us on <a href=\"mailto:su*****@******ch.io\" data-original-string=\"eXgzs6RYTcVLQ9b4686lug==e89ZzKj8Do4IrFZT4GQ3pA0fGl5A+yzBjOhpYfpRoaRc5c=\" title=\"This contact has been encoded by Anti-Spam by CleanTalk. Click to decode. To finish the decoding make sure that JavaScript is enabled in your browser.\"><span \n                data-original-string='5ZWPXLVZCa07Mf\/zfWONOw==e894QB+UWWvophIREKfyaYLXQuE4sKraakhp\/Lrg1AKqVA='\n                class='apbct-email-encoder'\n                title='This contact has been encoded by Anti-Spam by CleanTalk. Click to decode. To finish the decoding make sure that JavaScript is enabled in your browser.'>su<span class=\"apbct-blur\">*****<\/span>@<span class=\"apbct-blur\">******<\/span>ch.io<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","product_cat":[],"class_list":["post-4135","faq","type-faq","status-publish","hentry","faq_topics-gdpr-faq"],"_links":{"self":[{"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/faq\/4135","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/faq"}],"about":[{"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/types\/faq"}],"author":[{"embeddable":true,"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/comments?post=4135"}],"version-history":[{"count":0,"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/faq\/4135\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/media?parent=4135"}],"wp:term":[{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/product_cat?post=4135"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}