jwineman
Forum Replies Created
-
Forum: Plugins
In reply to: [Cloudflare] Updated to v3.3.1 – Errors I’m gettingWhich version of WordPress are you on?
Forum: Plugins
In reply to: [Cloudflare] Updated to v3.3.1 – Errors I’m gettingForum: Plugins
In reply to: [Cloudflare] Add to partner zone from pluginResolved.
Forum: Plugins
In reply to: [Cloudflare] Adding more hooksResolved.
Forum: Plugins
In reply to: [Cloudflare] rocket loader breaking onload JS on linked CSSResolved.
Forum: Plugins
In reply to: [Cloudflare] Compatibility with multilingual siteThe WordPress support forums are for plugin specific issues, if your issue is with the Cloudflare CDN please file a support ticket at http://support.cloudflare.com/. They’ll be better equipped to help you debug there.
Thanks,
JohnForum: Plugins
In reply to: [Cloudflare] rocket loader breaking onload JS on linked CSSWe omit wp-admin/ urls from rocket loader by the way.
Forum: Plugins
In reply to: [Cloudflare] Compatibility with multilingual siteAre you using WordPress MU?
Forum: Plugins
In reply to: [Cloudflare] rocket loader breaking onload JS on linked CSSWhen Rocket Loader is enabled you’ll see code similar to below injected:
`
//<![CDATA[
try{if (!window.CloudFlare) {var CloudFlare=[{verbose:0,p:0,byc:0,owlid:”cf”,bag2:1,mirage2:0,oracle:0,paths:{cloudflare:”/cdn-cgi/nexp/dok3v=1613a3a185/”},atok:”3c8da9a49931c38883a0304d96c6c413″,petok:”2a5b4cfaa309d7067a77dfba4e5c5caabbbe8872-1498583646-1800″,zone:”[DOMAIN.COM]”,rocket:”a”,apps:{}}];document.write(‘<script type=”text/javascript” src=”//ajax.cloudflare.com/cdn-cgi/nexp/dok3v=85b614c0f6/cloudflare.min.js”><‘+’\/script>’);}}catch(e){};
//]]>
`
You should be able to check for the existence ofwindow.CloudFlare.<script>tags will also havedata-rocketsrc=""ortype="text/rocketscript"appended to them.Thanks,
JohnForum: Plugins
In reply to: [Cloudflare] rocket loader breaking onload JS on linked CSSHey,
Here is a quote from one of the engineers on rocket loader:
Rocket Loader doesn’t handle link tags in any special way, so there’s no need to insert the “data-cfasync” tag on them. The JavaScript that inserts them, however, is effected by Rocket Loader; that JavaScript does need the “data-cfasync” tag added in the HTML.
As for JavaScript handlers defined inside the HTML: there’s no way to disable their rewriting when Rocket Loader is enabled, though the rewriting shouldn’t effect the outcome (
thisshould still be referencing the specific element).Rocket Loader is in beta, so there may be edge cases it doesn’t handle well, so you may wish to notify site owners to disable Rocket Loader when using the Autoptimize plugin.
To summarize Rocket Loader isn’t set up to handle
<link/>(like you probably assumed). Unfortunately the solution here is to advise your customers to disable Rocket Loader.Forum: Plugins
In reply to: [Cloudflare] rocket loader breaking onload JS on linked CSSAh I understand. Let me check and get back to you.
Forum: Plugins
In reply to: [Cloudflare] rocket loader breaking onload JS on linked CSSHi Frank,
Correct, you can prevent rocket loader from executing by adding
data-cfsync=falseto the tag.Thanks,
JohnForum: Reviews
In reply to: [Cloudflare] BadI don’t see any instructions on the page you linked, can you be more specific about the instructions you followed?
Thanks,
JohnForum: Reviews
In reply to: [Cloudflare] BadHi @eliyahna,
Sorry to hear that! Can you tell us what instructions you were following and which DNS errors you got? We’d like to try to determine a root cause if possible!
Thanks,
JohnForum: Plugins
In reply to: [Cloudflare] Parser-blocking, cross site scriptHi,
This particular file isn’t included by our plugin. If you disable every plugin except for the Cloudflare plugin does it still occur? Do you have auto-minification enabled on your Cloudflare account?
Thanks,
John