Title: Synchronous XMLHttpRequest deprecated
Last modified: August 31, 2016

---

# Synchronous XMLHttpRequest deprecated

 *  Resolved [keyra](https://wordpress.org/support/users/keyra/)
 * (@keyra)
 * [10 years ago](https://wordpress.org/support/topic/synchronous-xmlhttprequest-deprecated/)
 * Using
    – WP Slimstat Analytics 4.3.2.3 – PHP 7.0.7 – WordPress 4.5.2 (Multisite)
 * I’m getting this message in Chrome’s console while I browse the site as a visitor:
   
   Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental
   effects to the end user’s experience. For more help, check [https://xhr.spec.whatwg.org/](https://xhr.spec.whatwg.org/).
   wp-slimstat.min.js:1
 * [https://wordpress.org/plugins/wp-slimstat/](https://wordpress.org/plugins/wp-slimstat/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Contributor [Jason Crouse](https://wordpress.org/support/users/coolmann/)
 * (@coolmann)
 * [10 years ago](https://wordpress.org/support/topic/synchronous-xmlhttprequest-deprecated/#post-7443083)
 * Hi,
 * you can switch to Async tracking in the settings, to make that warning disappear.
   Slimstat uses synchronous communications with the server to make sure page views
   are tracked even on very slow servers. If your server is fast enough, then switching
   to async mode might be an option for you.
 * Best,
    Jason
 *  Thread Starter [keyra](https://wordpress.org/support/users/keyra/)
 * (@keyra)
 * [10 years ago](https://wordpress.org/support/topic/synchronous-xmlhttprequest-deprecated/#post-7443115)
 * Thanks.
 * I followed the recommendation regarding site speed and switched to that.
 * I read a bit about the technicalities about the error and I see why the error
   is there.
 * It’s either:
    – Render blocking if the site isn’t fast enough (in sync mode) –
   There are some potential stat loss (in async mode)
 *  Plugin Contributor [Jason Crouse](https://wordpress.org/support/users/coolmann/)
 * (@coolmann)
 * [10 years ago](https://wordpress.org/support/topic/synchronous-xmlhttprequest-deprecated/#post-7443131)
 * That is correct.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Synchronous XMLHttpRequest deprecated’ is closed to new replies.

 * ![](https://ps.w.org/wp-slimstat/assets/icon.svg?rev=2832242)
 * [SlimStat Analytics](https://wordpress.org/plugins/wp-slimstat/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-slimstat/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-slimstat/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-slimstat/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-slimstat/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-slimstat/reviews/)

## Tags

 * [deprecated](https://wordpress.org/support/topic-tag/deprecated/)
 * [XMLHttpRequest](https://wordpress.org/support/topic-tag/xmlhttprequest/)

 * 3 replies
 * 2 participants
 * Last reply from: [Jason Crouse](https://wordpress.org/support/users/coolmann/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/synchronous-xmlhttprequest-deprecated/#post-7443131)
 * Status: resolved