Weedon -> Dodford Google index is now spam Non-slip adhesive matting and other jobs List of Demonetized YouTube stars Is this why my site has been censored? Nether Hayford -> Weedon Bec BMC 1,800 alternator First Patreon Pledger! Adding to narrowboat battery bank Phone broke [Nether Hayford] Funny video of the day Google, other tech companies warned over ‘dangerous’ banning of neo-Nazis, hate groups How a bitcoin is made Fastening fairleads to my boat pt1 Google Censorship clamps down on the ‘alt-media’ Middle of nowhere – Near Gayton Sense of future – Unilever Saga 20 years on Censored by Google- 64% Black-hat Google penalty for White-hat site Final day painting and Gayton Marina Bonnie Eye Boat update Blisworth Marina 3 Reasons you won’t ever tell me 9/11 was not an inside job Nene and onwards Tradline ropes and things, Braunston Junction Houses past and present Bourne End to Weedon Bourne End upwards Little ride home Ease my Brexit shroom – Daan sawwf On the Thames again Day 41 – Newquay to Lands End Day 40 – Tavistock to Newquay Day 39 – Exeter to Tavistock Bonnie Revival Hungerford -> Newbury -> Aldermaston BMC 1800 waterpump Downton Abbey (Highclere Castle) and Watership Down Hungerford Marsh -> Hungerford Froxfield -> Hungerford Marsh To Ham Bird action in Oak Hill World Press Freedom Index Oak Hill – Dun Aqueduct Oak Hill Little Bedwyn -> Oak Hill 5 popular destinations for travelling where disease is still rife Chased by sheep – Little Bedwyn Taking a long walk…. Great Bedwyn -> Little Bedwyn Sunday on the canal Crofton Meadows -> Great Bedwyn Wolf Hall -> Crofton Meadows Brimslade -> Wolf Hall My first Zander Wotton Rivers -> Brimslade Most visited sites on the internet ABS Review – Leisure batteries for a narrowboat Burbage wharf Mooring in Wootton Rivers, Wiltshire Sunday in Pewsey Measuring the draft Looking for moorings around Wootton River/Clench New button fitted! Milkhouse Water, Wiltshire Now in Pewsey, CRT mooring rules Get into Stonehenge free Flaperon from MH370; no story – 1 month on Skyrim V Connect/’sign in’ to ‘open network’ wifi on Windows 10 My personal Strava movie – 2016 The biggest hacks of 2016 – A year in hacking US vs Bullying China Russian Google and Reddit misdirects skewing Google Analytics First complaint Winter electricity usage Devizes The fight for freedom, Not In My Back Yard Donald Trump – Puppet masters, Parody to victory, and the march to nationalism US Presidential elections 2016 Taking a narrowboat on the Thames Giles Wood – Melksham Bonny Journey List of dead bankers 2016 – conspiracy update Day 38 – Taunton to Exeter Day 37 – Seend Park to Taunton Day 36 – Seend Park to Bradford on Avon Day 49 – Caen Hill Marina to Seend Park Bleeding a BMC 1800 marine engine Day 48 – Caen Hill Locks Day 47 – Devizes – Caen Hill Locks Day 47 – Honey Street to Devizes Day 46 – Great Bedwyn to Honey Street Day 45 – Newbury to Great Bedwyn Day 43 – Theale to Newbury Day 42 – Goring to Theale Day 41 – Oxford to Goring Day 40 – Aynho to Oxford Day 39 – Claydon to Aynho Day 38 – Flecknoe to Claydon
Cloudflare CDN

Cloudflare slowing my site down causing it to timeout

Michael Tyler

About

Owner and main contributor to the site.

It's only fair to share...Share on Facebook2Tweet about this on TwitterShare on Google+0

Cloudflare is a popular CDN, or content distribution network, which comes bundled with my web hosting package.

I’ve been using them for a couple of years.

No problems.

Last week, I suddenly found I was no longer to create new posts in wordpress.
None of the tool panels were rendering. I was not able to see the java applet window that I’m currently typing in. The user interface was basically busted.

Wordpress New post UI - No toolbars, no text entry area
WordPress New Post UI

I wrote a little message to WordPress.org, who are helpful and informative, explaining that my WordPress interface was no longer working.

WordPress caching errors

I thought it might be a caching problem.

Often when you’ve found a solution to a problem on a modern website that leverages caching to speed up delivery, you won’t know the problem is solved because the old version of the site along with the old errors will be served up to you.

You have to do a HARD REFRESH on anything from the old rendering of the site, (all old pages, cookies sessions, etc.. anything must be CC cleaned out of there, and started afresh).

That worked, I went off and left the site, did the other things for the day, (paint the boat).

Cloudflare CDN causing site to slowdown and timeout

Following day, checked up. The problems started again. I was unable to see any aspect of the new post screen, and I was getting 2 seconds to first byte, and about 18 seconds to render fully.

In reality, and to any visitor, the site was actually timing out.

I then began to look at Cloudflare, which I had turned off to do the initial cache purge, but then turned back on again. I guess because I trusted them NOT to be the problem.

That turned out not to be the case.

Cloudflare are the problem.

QED

I tested this theory again today.

Today has been 5 days since I’ve turned Cloudflare off.

The site has been working fine.

The WordPress Autoptimize caching has been working overtime to try and keep up with all the requests, but otherwise fine.

Enough time to settle down. Be normal.

Carry out a test.

Cloudflare CDN
Supercharge?

Turned Cloudflare on this morning.

  1. Objects not rendering: ANSI Chars refusing to render
  2. Pictures not rendering: JPG’s not rendering, not being served up
  3. 8 Second plus wait for first Byte: Slowing the site down to the point it takes anything 2 to 10 seconds before any information whatsoever is received from the CDN.
  4. Site timeout: When your browser has to wait too long for a site, it effectively judges the site to be ‘down’ and serves you a ‘time-out’.

Cloudflare support

I’ve written a message to Cloudflare support informing them of the fact that the CDN is disabling my site.

I await their reply….

Reply from Cloudflare support

Here’s the reply:-

Alex T.(CloudFlare)

Aug 20, 1:28 PM BST

Hello,

If you’re seeing slowness, a useful tool to use to share data with us is a speed test site like webpagetest.org — to do this you should run a test with CloudFlare and a test direct to your server as a comparison.

Testing with CloudFlare:

  1. Make sure CloudFlare is enabled for your domain
  2. Visit http://webpagetest.org
  3. Choose a geographic location and a browser that matches as closely as possible to that of your visitors experiencing the slowness
  4. Enter an example URL and click Start Test. When it is complete save the result URL to share with us.

Testing direct to your origin server:

  1. Pause CloudFlare like so: https://support.cloudflare.com/hc/en-us/articles/200169176-How-do-I-temporarily-deactivate-CloudFlare-
  2. Visit http://webpagetest.org
  3. Repeat test as above

When both tests are complete, send both URLs over to us so we can take a look.

I did the tests, as recommended. Here are the results from both tests.

Test 1: Without Cloudflare

Webpagetest page timing waterfall
Webpagetest page timing waterfall

7 seconds to render, 1.859 seconds to first byte

Test 2: With Cloudflare

Cloudflare webpagetest waterfall
Cloudflare webpagetest waterfall

18 seconds to render, 1.81 seconds to first byte.

As you can see, some very routine elements such as jpg’s and png’s housed on my own server are slowing the load down.

Ontoplist.png 92ms without CLoudflare, 15070ms with cloudflare. That’s really eye watering for a 120×88 png.

Upshot

As you can see, Cloudflare CDN currently slows my website down by 11 seconds.

Click here for reuse options!
Copyright 2016 Michael Tyler Sailor's Almanac: Further Narrowboat Adventures
(Visited 22 times, 1 visits today)

Leave a Reply

Your email address will not be published. Required fields are marked *

Facebook Auto Publish Powered By : XYZScripts.com