back to article Cloudflare gives websites their marching orders to hasten page rendering automatically

Cloudflare figures it has fixed the web, at least insofar as speedy page loading on its network is concerned. The content delivery biz on Tuesday revealed changes to its HTTP/2 Prioritization implementation that make websites load page resources – images, scripts, text and the like – more efficiently. "It's rare to have the …

  1. Anonymous Coward
    Anonymous Coward

    site: "this image is my hero image, make sure it's a high priority image,"

    Ah. Will there also be a way for the user to ensure anything labelled "hero image" to be totally ignored? :-)

    1. Jamie Jones Silver badge
      Thumb Up

      Re: site: "this image is my hero image, make sure it's a high priority image,"

      Very much this!

    2. Robert Carnegie Silver badge


      "Nice try, but I arrived five minutes ago."

      For instance.

  2. Anonymous Coward
    Anonymous Coward

    Speed freaks

    this is a breakthrough development for humankind which means my 7G mobile will load me next porn page nearly TWICE AS FAST*, i.e. in 000.2 sec

    *actual speed may vary depending on your package, see p. 4536723 of our T&T

    1. petef

      Re: Speed freaks

      Er not quite, it will load the adverts on your next pr0n site twice as fast.

  3. tiggity Silver badge

    Is that to compensate for the DDOS page

    When I visit a cloudflare site, waste many seconds on a testing your browser to check not a DDOS page before actually getting to the content I requested.

    Not much point shaving a few milliseconds off page load when there is that issue of elephant in the room proportions on overall time to load.

    1. Anonymous Coward Silver badge
      Paris Hilton

      Re: Is that to compensate for the DDOS page

      Not a page I've ever seen. Are you going through TOR or similar?

    2. Anonymous Coward
      Anonymous Coward

      Re: Is that to compensate for the DDOS page

      This only happens when a website has chosen to turn on the DDoS protection option in cloudflare. It won't do this for all sites, only the ones people choose to enable protection on.

    3. Jamie Jones Silver badge

      Re: Is that to compensate for the DDOS page

      ... and it presents a total deadend for people like me who don't or can't enable javascript.

      Particularly annoying when I use "w3m" on the command line, which is quite often.

      cloudflare have come up with some nifty things - they know their stuff - but in this case, their decision sucks monkeys balls, and if people knew what was going on, less of them would enable it.

    4. Anonymous Coward
      Anonymous Coward

      Re: Is that to compensate for the DDOS page

      Perhaps oddly, the only site I have noticed that problem with is actually The Register (I think when I switch my mobile between mobile data and WiFi. I'm guessing that some cookie gets set which then causes the site to take a huff when my IP address changes?).

    5. Nick Stallman

      Re: Is that to compensate for the DDOS page

      Yes, but no. Its progressive jpeg but for multiple progressive jpegs at once.

      Having 10 progressive jpegs on your site isn't much use if the first one has to load fully before the next one starts.

      Cloudflare"s technique allows all 10 to progressively load at the same time.

  4. FatGerman


    " It's a technique that further improves the page load experience by rendering images through ongoing detail enhancement rather than displaying the image only once it has been fully loaded."

    You mean, it's progressive JPEG, like Netscape?

    1. bob42

      Re: Errr

      Ah, beat me to it!

      Except I was going to say like !Fresco with a 28k modem

      1. jon909

        Re: Re: Errr

        And you beat me to saying you beat me to it. Its like 1996 all over again. What next, co-operative multi-tasking?

        1. Sandtitz Silver badge

          Re: Errr

          I actually thought about GIFLink, an external X/Y/ZModem protocol software that showed GIF pictures as you downloaded them from BBS's, although interlaced GIF images were not that common, IIRC. It also allowed you to abort the currently transferred image if the image didn't fill your needs...

      2. FatGerman

        Re: Errr

        Have a thumbs up for reminding me of !Fresco

    2. Lee D Silver badge

      Re: Errr

      The HTTP protocol has always been quite inefficient, as soon as we got past "I just want a single plain HTML page from a single-IP domain name with no security", it became inefficient and a mess.

      We added gzipped content, we added TLS and SNI, we added cached content, cache control and all kinds of X-headers, we added multiple request streams which overwhelmed things so we added pipelining multiple requests in a single stream, etc.

      It needed a reboot.

      I quite understand the problem - watch the GIF. Edge just waits until it knows where everything goes. The earlier versions of modern browsers just splatted to the screen and moved things later (which creates a mess of movement and wrong-clicks). The new versions now protoype page layout based on available information, request resources in the background, and fill in the gaps as they come in.

      There's nothing in HTTP2 that's ground-breaking. We've just gone from a single human-readable conversation to an encrypted, shared-pipeline channel with all kinds of content typing and prioritisation.

      What gets me is that with all that reduction in latency, compression, etc. we still don't have anything approaching a website that actually loads fast. If I made an HTML table with a couple of optimised JPGs for the page in that GIF, I could splat that on screen over even the slowest connection way before those browsers manage to render it (I'm guessing that demo is exaggerated by using a very low connection speed, because modern browsers aren't THAT slow), just by making sure that I send the least amount of data I can in the simplest format.

      All that CSS, JS, etc. nonsense results in megabytes of load for a simple page, plus conditional display and execution based on running that code, which has to be done after downloading from half-a-dozen different places.

      Though it's a step-forward, we're still just making unnecessarily bloated sites.

      Even this page - a list of forum comments, a handful of links to other articles, and an ad or two, is currently running 30Mb of JS virtual machine while I type this comment, not to mention downloading dozens upon dozens of images and JS files.

      One day we're gonna hit a physical limit, and then people will have to learn to optimise again.

  5. el kabong

    That's Great, imagine all those adverts popping in front of your eyes much faster than before

    Where once they could pop ten ads in a split second now they will be able to pop fifteen ads and a half, maybe even more if they improve the technique further, they are working on it.

    That's really great!

  6. Anonymous Coward
    Anonymous Coward

    Why does it have to be https ?

    I run a blog, on an intel atom that also does tons of other stuff, with 50 viewers a day and none of them can login or register or anything. They can only read.

    What the hell do i need SSL for ?

    Yes letsencrypt etc

    1. Anonymous Coward
      Anonymous Coward

      Re: Why does it have to be https ?

      All those extra CPU cycles are to help us speed up climate change - the world is too cold at the moment.

    2. pmb00cs

      Re: Why does it have to be https ?

      In theory, your site over unencrypted HTTP could be altered by a MitM attacker, causing your viewers browsers to load resources that you did not expect them to load. Those resources could include malware, or adds for companies you don't like, or don't wish to be associated with your site. The very content of the page could be altered to say things you find abhorrent.

      In practice, you probably don't if your site has no javascript, or paid advertising. The risks are mostly to your viewers, not to you anyway.

      That said, the cost these days of enabling SSL for a small site are minimal, and I don't just mean that LetsEncrypt offer free certificates, but modern processors (atom processors included) often contain hardware acceleration for many of the cryptographic functions used by SSL, and if you take the time to set up an ACME client your certificate can be renewed automatically with no further effort on your part.

    3. Anonymous Coward
      Anonymous Coward

      Re: Why does it have to be https ?

      To be fair- what do you need ddos protection and http/2 for?

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

Other stories you might like