avatarKris Bedenian

Free AI web copilot to create summaries, insights and extended knowledge, download it at here

4873

Abstract

f Ads’.</h2><p id="e5e8">A developer at Jyllands-Posten pointed me to a setting in <i>the</i> performance measuring tool, <a href="http://www.webpagetest.org/">WebPageTest</a>.</p><p id="b8c3"><i>(WebPageTest is <b>what you use</b>, when you do performance tests. <b>SpeedCurve is actually based on WebPageTest</b> — and the most important things in SpeedCurve are the automated tests and a much better design/UI, at least some of the parts — I’ll get back to that.)</i></p><p id="ac27">What you have to do, before you do a WebPageTest test, is to ask WebPageTest to <b>remove the letters ‘PTST’ from the user agent string</b> (which every browser uses to identify itself):</p><figure id="f815"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*XitVzBWd_DGzCIjccWOjHw.jpeg"><figcaption></figcaption></figure><p id="e364"><i>(I’ve written <a href="http://ebudvikling.dk/blog/2016/02/15/et-flueben-i-webpagetest-kan-betyde-meget-for-din-performance-maaling/">a blog post in Danish</a> about this nifty little feature.)</i></p><p id="31bb">‘PTST’ is the culprit in all of this. When our ad technology provider AdTech (<a href="http://oneadserver.aol.com/">now a part of AOL</a>) sees a browser with these four magic letters in the user agent, it withholds the ads from rendering. The reason: <b>To avoid wasting ad displays on tests</b>. Which makes sense, when you think about it.</p><p id="a021">Run a test on WebPageTest with this checkbox checked and you get <i>everything</i>. And that’s what we want. I’ve seen tests where the<b> ‘fully loaded’</b> time (the browser is saying “I’m totally done with loading this site now”) <b>multiplied by 5</b>; that’s a 400% increase! In the same test the <b>total number of requests was multiplied by 3</b> (200% increase).</p><p id="1f8d">Oh, and our <b>SpeedIndex</b> value (an expression of how fast the first screen view/viewport loads) <b>increased by 30%</b> in a test.</p><p id="24ab">But while WebPageTest can give us the correct data, <b>it can’t automate it</b>. We could do something via <a href="https://sites.google.com/a/webpagetest.org/docs/advanced-features/webpagetest-restful-apis">the WebPageTest API</a>, but this is something we want to avoid, so as to not have too many products and service to monitor and maintain.</p><p id="8a91">We then went back into SpeedCurve, but there was no feature to allow this. But… in the ‘Enterprise’ edition of SpeedCurve you are allowed to use <a href="https://sites.google.com/a/webpagetest.org/docs/using-webpagetest/scripting">the WebPageTest scripting language</a>. One of the things you can do here is <b>set the user agent, which is exactly what we wanted to do</b>.</p><p id="eefd">Documents were written, meetings were held, decisions were made. And we (across JP/Politikens Hus, that is Ekstra Bladet, Politiken and Jyllands-Posten) <b>signed up for SpeedCurve Enterprise</b>. O, how we thought we had it made.</p><p id="a842">We now saw SpeedCurve rendering the <i>entire frontpage</i>. Just like we wanted. And we <b>started lacking in the comparisons </b>in SpeedCurve, just as we had expected. Especially compared to the Danish Broadcasting Corporation (which has no ads, since they are funded through Public Service).</p><p id="2930">And the good times kept on coming. SpeedCurve announced that they would now support the <b>same browsers as you can choose between in the developer tools in Google’s Chrome browser</b>. A developer at Politiken tested this and yes, it meant we no longer had to script our user agent. This was a huge plus.</p><p id="3606">Just look at what happened once SpeedCurve updated the browsers and <b>started including ads</b>:</p><figure id="3451"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*qDl1ZCRvq4Df8XJ_-4E_1w.png"><figcaption></figcaption></figure><figure id="f16c"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*S0yQfx9Xvxm3BpTAXBSUTA.png"><figcaption></figcaption></figure><figure id="ca74"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*coOQm61VDAbkCz7rD7TFKA.png"><figcaption></figcaption></figure><figure id="8af5"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*bjoBX9-KatudVZE_IKPv_w.png"><figcaption></figcaption></figure><p id="bbdb">As you can see, ads have a…certain influence on our front page.</p><p id="767b">These two screenshots from SpeedCurve shows how big a percentage third party stuff (here; ads) take up of the front page:</p><figure id="db75"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*AoHX6PgiVGzvOWyyWKtOPg.png"><figcaption></figcaption></figure><figure id="2d69"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*rAHw9tS-CTQNzbV_B-zfIg.png"><figcaption></figcaption></figure><p id="4480">Notice those percentage numbers…</p><p id="51e5">When something takes up almost 80 p

Options

ercent of a websites requests and sites shouldn’t it also receive about 80 percent of the attention?</p><h2 id="4c1a">PSTS back in, ads back out</h2><p id="955b">Alas, it wasn’t to last. <b>SpeedCurve changed the browsers and reintroduced ‘PTST’ into the user agent string.</b> Therefore; no ads. We noticed this and went back to scripting the user agent. But that didn’t work either. Though it had earlier.</p><p id="6f31">I got in touch with the SpeedCurve folks. They told me they had fixed a ‘bug’ and that <b>a test browser should <i>always </i>label itself as such</b>, as Mark from SpeedCurve told me in an email:</p><p id="a423" type="7">WPT should always be identifying itself, even if the UA string has been set via scripting.</p><p id="276d">Instead he created <a href="https://github.com/WPO-Foundation/webpagetest/issues/606">an issue</a> with WebPageTest to allow the user to set the user agent (without ‘PTST’) in the scripting language. <b>Nothing has happened since April 25th.</b> Steve Souders (who is the closest you’ll come to a ‘Mr. Performance’) who also works at SpeedCurve has created <a href="https://github.com/SpeedCurve-Metrics/SpeedCurve/issues/62">an issue</a> with SpeedCurve itself to allow us to remove PTST via a checkbox, like in WebPageTest. <b>This issue was created on March 1st</b>.</p><p id="d119">We still had one shot left though: <b>Whitelist a browser with a ‘PTST’ user agent with our ad technology provider</b> to to allow the SpeedCurve test browsers to see the entire page rendered. Unfortunately, this is not possible since it is a “global setting across all client networks”. That means, it would have to be changed across all of the sites that use their technology. According to <a href="http://oneadserver.aol.com/">their own website</a> they have 74 countries with active clients.</p><p id="484c">I then asked if we could allow the browser through if we scripted the user agent to include the word “SpeedCurve”. In effect, <b>their block functionality would allow a browser through if <i>both </i>the words ‘PTST’ and ‘SpeedCurve’ are in the user agent string. But no dice:</b></p><p id="3ef4" type="7">As long as PTST is in the UA we will block it.</p><h2 id="c77f">Alternatives?</h2><p id="bb21">This is, obviously, a precarious situation for us to be in. <b>We can’t measure the performance of our entire site automatically</b>.</p><p id="0fdf">The logic step is to look at alternatives. So far I’ve only tried one: <a href="https://calibreapp.com/">Calibre</a> (which was suggested to me by the same colleague who suggested SpeedCurve). I even wrote to the guy behind Calibre up front to be sure that it would include ads. But the same result: A fast, lean website. Which just isn’t the truth ;-)</p><p id="5988">Until SpeedCurve (or WebPageTest) comes up with a change we <i>might</i> look at the initial no-no: <b>Running automated WebPageTest tests through their API</b>. As Jyllands-Posten’s developer suggested, <b>we might be able to get it up and running pretty fast <a href="http://calendar.perfplanet.com/2014/webpagetest-private-instances-in-five-minutes/">using Amazon</a></b>.</p><p id="9432">So… here we are. Thinking about what to do. Since we can’t automatically measure our entire page render, we can’t <i>really</i> do any performance budgets. We can’t measure any tweaks or changes, either. <b>We could do it via manually tests but that is the last way out.</b></p><p id="77b0"><i>(Also note: Performance budgets are really hard to do, once you’ve got ads in the mix. The load and performance of them vary a lot; week to week, day to day, hour to hour, even banner to banner. Also, the biggest influence on your performance is outside of your control. So ask yourself if a performance budget is the way to go.)</i></p><p id="fa04">If you made it all the way through this article and have either a trick (or a fully fledged automated performance test tool which include ads…) up your sleeve, <b>please leave a comment.</b></p><p id="3b36">Banner ads (and for us; the way they are found, delivered and rendered) are a huge performance culprit but we can’t automate the measurements of that fact. <b>We are stuck with manual tests in WebPageTest — or browser developer tools like those in Google Chrome.</b></p><p id="be1a">(I you found this post by Googling your own frustrations, know this: <b>You are not alone</b>.)</p><h2 id="4029">Update on June 14th, 2016:</h2><p id="d99c">Apparently this <b>isn’t a problem will all ad tech providers</b>:</p> <figure id="e652"> <div> <div> <img class="ratio" src="http://placehold.it/16x9"> <iframe class="" src="" allowfullscreen="" frameborder="0" height="undefined" width="undefined"> </div> </div> </figure></iframe></div></div></figure></article></body>

How To Live Like A Bird And Soar Higher

It’s a new beginning, wake up! A thank you note to God.

Photo by Joshua J. Cotten on Unsplash

“Sit on a telephone wire, like a bird! Get a higher perspective of your next step!” — Kris Bedenian

I’m sharing this story as a thank you note to God for his beautiful work of creating all the animals on earth. Today I’m especially observing the beauty of the smaller birds.

My Story

Today I’ve decided to wake up early, eat less, fly high, and rest when NEST-essary. I’ve heard of eating the frog first thing in your day, but I’m not going to eat any worms — or perhaps we should!

My window is cracked open and my husband’s alarm just went off at 5:30 a.m. Spring is in the air and the birds are chirping. It’s early for me!

My passion lately is words! I’m obsessed over the poem called haiku. I have written just over 365 of them in the last 4 weeks! However, today I need to get busy with some new content.

Today I thought: What’s a life of a bird-like? They really only have so much time in their days. Do we sometimes think that we have enough time or I can do it tomorrow attitude? What if today is it! Would you live differently?

Wake Early

I’m up and singing softly. Not really; it’s early! Yet, I’m trying to wake my son for school. He’s only been back at school for about a month after a long stay-home-school-cation. I asked him to set an intention for today. He set out to have a good day!

What intention have you set for your day? If you don’t set one, others will! How can you start flying above the noises of life?

I even made my son a pancake! It’s his lucky day! Watch out, you boxed bowls of cereal, there’s a new bird in town!

I even put away the dishes from the dishwasher. It must be my husband’s lucky day, too.

I made the bed, and I wasn’t even the last one out. That’s our rule. Maybe this is a good enough reason to get up early.

I started the laundry and only have a few chores later for the day. I will share them in a little while.

With all these little things out of the way, I have created a relaxed space for me to write.

Oh wow, I almost forgot I have a class at 11 a.m. on Zoom today, and I need to give my mom eye therapy. That’s okay; I still have more time to write, now that I woke up early! This is what my hope is, anyway.

Eat Less (Yucky Worms)

I never eat much when I’m busy writing. This is a good strategy for today if I’m trying to eat like a bird. I hope they like Creamy Crockpot White Chicken Chili and cornbread later. It’s a cool, rainy day, and this is going to hit the spot after a long afternoon of writing.

Have you heard about eating a frog first thing in your day? It means to do the biggest task first. However, I have decided to look at it from a bird’s-eye view and start with a few small worms instead!

Having a clean, orderly environment is so much more productive. Even the way we dress has something to do with it too. Have you read my article?

Back to all the little things that I did before sitting down to write. You might be able to jump in and eat the frog if you have others to pick up the slack, yet I say be of help around your home and set up your nest to soar!

Soar High (Movement)

If you feel you haven’t been as active as you would like and have found yourself sitting in the nest too much, it’s okay. Now is the time to push yourself out of the nest and start living that life of excellence!

This is not implying that you need to be perfect. It’s just a statement that leads me into knowing right from wrong.

I know that regular movement is the best. So today, I will write for a while and then be intentional about getting up to move around more.

I used to wake up at 5:30 a.m. every day and head to the gym right away. I feel that I have a new lease on life, so for now I would like to live more in alignment with true balance.

It’s been a busy day in the life of a bird. My wings are tired, and a little rest goes a long way!

Rest (Nest)

Maybe you have heard me talk about the 20/20/20 rule — at least this is my name for it.

Let me explain the three-step process:

  1. Pick a task (frog) of your choice and work on it for 20 minutes.
  2. Pick another frog and do the same.
  3. Now grab a glass of water (stay hydrated) to rinse the frogs down — and now comes the dessert! You could either move for 10 minutes (if you have been sitting) and then the last 10 minutes of the hour is intended to do something that you love. Like writing a Haiku! What is your favorite pastime? I’m learning a lot from these little bird friends. I still have some chores to do before I can transition from work to a home mindset.

Here is a habit I formed due to the pandemic that I would love to share. I usually do a quick 10-, 15-, or 30-minute tidying up before I start making dinner and shift my mindset into truly being home with my family.

If I were a bird, I would try to make my busy work during a set time, and then my home time would be clear! I feel strongly about this. Sometimes the lines can blur, and balance gets pushed out of the nest. For me, this is for the loony birds!

I had a very productive morning, and it isn’t even 9:30 a.m. I’m wondering if I will hit the repeat or snooze button tomorrow morning.

Repeat or Snooze (?)

Tonight, I must go to bed early. Yet tomorrow, maybe I will study the life of the Night Owl!

Life has a funny way of leading us. God is good, and his sense of humor at times leaves me soaring in delight!

Even still, I need to remind myself that I’m human. Even though I wish I could fly above the noises of life, I will rely on the Lord for my next steps!

Image created by Bedenian Design

Thank you, Trista Signe Ainsworth, for this memory-producing publication, Thank You Notes.

Spirituality
Self Improvement
Creativity
Nature
Routine
Recommended from ReadMedium