Title: https://cdn.ampproject.org/v0.js&#8217; defer onload=&#8217;&#8221;
Last modified: October 13, 2016

---

# https://cdn.ampproject.org/v0.js’ defer onload='”

 *  [TTYP](https://wordpress.org/support/users/ttyp/)
 * (@ttyp)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/httpscdn-ampproject-orgv0-js-defer-onload/)
 * Hi folks,
 * I’ve installed the plugin but I’m getting one small validation error:
    _ <!doctype
   html> <html amp lang=”en-US”> <head> <meta charset=”utf-8″> <meta name=”viewport”
   content=”width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-
   scalable=no”> <script src=”[https://cdn.ampproject.org/v0.js&#8217](https://cdn.ampproject.org/v0.js&#8217);**
   defer onload=’**” async></script>
 * If I remove the bold section, my page validates properly. Question is, how can
   I remove that defer, or stop it being added altogether. I thought it was Cloudflare
   to begin with but I haven’t been able to fix this, even when applying page rules
   which turn off Cloudflare functionality on AMP pages.
 * I’d really appreciate your help with this!

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

 *  [Mohammad Jangda](https://wordpress.org/support/users/batmoo/)
 * (@batmoo)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/httpscdn-ampproject-orgv0-js-defer-onload/#post-8293896)
 * It’s likely being added by Cloudflare like you noted or another similar plugin
   as the AMP plugin doesn’t include either of them:
 * [https://github.com/Automattic/amp-wp/blob/master/includes/amp-post-template-actions.php#L24](https://github.com/Automattic/amp-wp/blob/master/includes/amp-post-template-actions.php#L24)
 * If you have a full page caching plugin like Super Cache or W3TC, you may need
   to flush the cache as well.
 *  Thread Starter [TTYP](https://wordpress.org/support/users/ttyp/)
 * (@ttyp)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/httpscdn-ampproject-orgv0-js-defer-onload/#post-8303074)
 * Thanks! I’ve tried both of those things but unfortunately it’s not changing anything.
   If my host offers caching, could that cause it?
 *  Thread Starter [TTYP](https://wordpress.org/support/users/ttyp/)
 * (@ttyp)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/httpscdn-ampproject-orgv0-js-defer-onload/#post-8325625)
 * Just to update on this… I’ve moved away from Cloudflare and disabled every single
   plugin, and the issue still persists. I’d appreciate it if anyone is able to 
   shed some light on what the problem may be, please!
 *  [Mohammad Jangda](https://wordpress.org/support/users/batmoo/)
 * (@batmoo)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/httpscdn-ampproject-orgv0-js-defer-onload/#post-8326894)
 * If you have any caching plugins in place, you may need to force refresh the cache.
   If not, it might be something that your host is doing?
 *  [Sammy75](https://wordpress.org/support/users/sammy75/)
 * (@sammy75)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/httpscdn-ampproject-orgv0-js-defer-onload/#post-8380437)
 * Hi TTYP,
 * You may have a plugin or a function (look in your functions.php file) changing
   the original syntax with a bad one.
 * If you have speed optimization plugins, look at their defering part, and disable
   this for now.
 * I have not yet found a way to apply this kind of function/plugin except the AMP
   pages.
 * I’m looking.

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

The topic ‘https://cdn.ampproject.org/v0.js’ defer onload='”’ is closed to new replies.

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

 * 5 replies
 * 3 participants
 * Last reply from: [Sammy75](https://wordpress.org/support/users/sammy75/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/httpscdn-ampproject-orgv0-js-defer-onload/#post-8380437)
 * Status: not resolved