Title: Parser-blocking ?
Last modified: September 10, 2016

---

# Parser-blocking ?

 *  Resolved [mikehaceman](https://wordpress.org/support/users/mikehaceman/)
 * (@mikehaceman)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/parser-blocking/)
 * Hello
 * I have noticed an error in google chrome dev tool:
 * > A Parser-blocking, cross-origin script, [http://ajax.cloudflare.com/cdn-cgi/nexp/xx/cloudflare.min.js](http://ajax.cloudflare.com/cdn-cgi/nexp/xx/cloudflare.min.js),
   > is invoked via document.write. This may be blocked by the browser if the device
   > has poor network connectivity.
   >  autoptimize_cxx.js:1 JQMIGRATE: Migrate is 
   > installed, version 1.4.1
 * Is it possible for you to tell me what does it mean – and possible how to get
   rid of this problem?
 * Thank you!

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

 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/parser-blocking/#post-8167506)
 * Well, this means your site has javascript that loads cloudflare.min.js (the “
   parser-blocking cross-origin script) in a non-optimal manner (the “document.write”).
   As AO simple aggregates all JS in your site, you’ll have to look for the original
   script doing the document.write. For tthat purpose you can disable AO on a per-
   request basis by adding `?ao_noptimize=1` to your URL and checking your google
   chrome dev tool again.
 * the JQMigrate message is just jQuery migrate confirming it is loaded, this is
   perfectly normal.
 * hope this clarifies,
    frank
 *  Thread Starter [mikehaceman](https://wordpress.org/support/users/mikehaceman/)
 * (@mikehaceman)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/parser-blocking/#post-8168533)
 * Hi Frank
 * Thanks for the answer – it sounds like clodflare is doing something weird.
    Your
   plugin is still awesome 😉
 * THanks!
 *  [mayasl](https://wordpress.org/support/users/mayasl/)
 * (@mayasl)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/parser-blocking/#post-8509781)
 * Sorry for hijacking an old thread.
 * Recently I switched my DNS to CloudFlare. Now on Chrome, I am unable to add products
   to the cart. Found this in Chrome developer console.
 * `A Parser-blocking, cross-origin script, https://ajax.cloudflare.com/cdn-cgi/
   nexp/dok3v=088620b277/cloudflare.min.js, is invoked via document.write. This 
   may be blocked by the browser if the device has poor network connectivity. See
   https://www.chromestatus.com/feature/5718547946799104 for more details.`
 * Things are fine with FireFox.
 * Do we have any fix for this?
 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/parser-blocking/#post-8509817)
 * are you using autoptimize mayasl? can you share your URL?
 *  [mayasl](https://wordpress.org/support/users/mayasl/)
 * (@mayasl)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/parser-blocking/#post-8509938)
 * I installed AutoOptimize and uninstalled now.
    URL : qtari.com
 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/parser-blocking/#post-8510318)
 * well, the warning is no reason to uninstall AO, as the document.write is in the
   cloudflare code itself;
 *     ```
       //<![CDATA[
       try{if (!window.CloudFlare) {var CloudFlare=[{verbose:0,p:1480765377,byc:0,owlid:"cf",bag2:1,mirage2:0,oracle:0,paths:{cloudflare:"/cdn-cgi/nexp/dok3v=1613a3a185/"},atok:"416e3148188f9cb365dd1fed35e9aab9",petok:"753a25d8710633874a9a60a281a064c1556d48ba-1480785584-1800",zone:"qtari.com",rocket:"a",apps:{}}];document.write('<script type="text/javascript" src="//ajax.cloudflare.com/cdn-cgi/nexp/dok3v=088620b277/cloudflare.min.js"><'+'\/script>');}}catch(e){};
       //]]>
       ```
   
 * so if this is an issue, you might want to take it up with the cloudflare team?
 * frank
 *  [wadetaylornz](https://wordpress.org/support/users/wadetaylornz/)
 * (@wadetaylornz)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/parser-blocking/#post-8972010)
 * I had the same error on a woocommerce checkout page and simply disabled Rocket
   Loader in Cloudflare. The issue disappeared.

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

The topic ‘Parser-blocking ?’ is closed to new replies.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

 * 7 replies
 * 4 participants
 * Last reply from: [wadetaylornz](https://wordpress.org/support/users/wadetaylornz/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/parser-blocking/#post-8972010)
 * Status: resolved