I'm trying to make Cloudflare's Rocket Loader work on my WP site. Everything works fine except for the WP Visual Editor. I followed the advice here but it doesn't work: How do I add custom attributes to javascript tags in Wordpress? Clo...
There are many SO questions how to get http headers with javascript, but for some reason they don't show up HTTP_CF_IPCOUNTRY header. If I try to do with php echo $_SERVER["HTTP_CF_IPCOUNTRY"];, it works, so CF is working just fine. Is...
I use CloudFlare, i check other website who use CF, but they don't have i this javascript code : <script type="text/javascript"> //<![CDATA[ try{if (!window.CloudFlare) {var CloudFlare=[{verbose:0,p:0,byc:0,owlid:"cf",b...
I have several plugins on my wordpress site which relies on the wp_enqueue_script function. Recently I've had a client who's using Cloudflare who wants to implement Rocket Loader which is an automatic javascript async loader. The issue is tha...
I want to dynamically add http-headers via CloudFlare workers ONLY for the first time visitors. For example these headers: Link: </path/to/file.css>; rel=preload; as=style; nopush Link: </path/to/script.js>; rel=preload; as=script; nopus...
Cloudflare changes the ip addresses of incomming requests because Cloudflare is a middleware between my website and the internet, a proxy. How should I get the initial ip address of the request, not Cloudflare its IP address. I heard about the mod_...
I am attempting to AJAX-ify my reports in order to bypass the 100 seconds time-out that CloudFlare imposes on requests that run through its site. See Is it possible to increase CloudFlare time-out? I did the following: function ajaxReport() {...
I'm looking to purge Cloudflare's cache through its API. More specially, the purge all files command. However, I keep running into the "Invalid Content-Type header, valid values are application/json,multipart/form-data" error message...
This question already has answers here:...
I have a node.js/socket.IO server that has been under attack recently, so I decided to start using cloudflare to hide my server IP. However, anyone can easily get the server IP from the client javascript file. Is there anything I can do to connect th...
©2020 All rights reserved.