avatarILLUMINATION

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>

Daily Digest from ILLUMINATION

Featured Stories Issue #53

Selected stories from 9,400 writers supporting 94,000 readers on ILLUMINATION

Image designed by Dr Mehmet Yildizdigitalmehmet.com

It is our pleasure to provide you fresh stories every day.

These interesting stories from our growing collection can inform and entertain you. External readers can access them via blogs on Word Press.

Thank you for the following ILLUMINATION and for reading the engaging stories shared by our creative writers.

Our previous digests are accessible from this collection.

You may check this collection of book chapters in our special publication (ILLUMINATION Book Chapters) hosting published books from accomplished authors.

The primary purpose of ILLUMINATION Integrated Publications (IIP) is to give optimal visibility to content created and hosted on them.

All writers are invited to join a writing challenge as proposed by Dr Mehmet Yildiz. These stories provide an opportunity for writers and readers to cross-pollinate.

How to grow and become a top writer on Medium in three months: 100 Day Challenge For New Writers

Please enjoy our fresh stories.

Keri Mangis

Get in the Arena with Us, or Get out of Our Way

Karen Madej

ILLUMINATION Book Chapters First Chapter Writing Tips

The Maverick Files

To All Illumination Detractors — A Respectful Yet Befitting Response

Dr Mehmet Yildiz

How To Create A 30,000 Words E-book In A Month

David Gerken

4 Life Lessons We Can All Learn By Playing Sports

Alana Rister, Ph.D.

If You Write for Money, You Are A Real Writer

Alexander Yu

As You Seek, Don’t Forget To See

Ian Vanderlinden

How to Instantly Improve Your Singing

Matthew Prince

Stop the Bullshitting, Too Many Freedom Cages You

Marcel Badia

The Necessity of Digital Disconnect to Increase Productivity

Paola Perez

How To Successfully Stick to a Healthy Diet

Floyd Mori

Japanese Americans Lost Their Homes But Were Not Exactly Homeless

pst tomowo

What Faith is: Faith is a lifestyle…

Shawn Ingram

Retest

Jonathan Thomas

I need to make writing my income source

Priscilla Yeung (Former Midori by the Sea!)

Will Immigrants Go Home First Thing If Something Happens to Their Homeland?

Shawn Ingram

Monolith 2

Rose Blog

Our precious time and its importance

Sharique Kamal

Follow These 8 Medium Writers to Level Up Your Writing

Arunn Thevapalan

The Process of Achieving Anything in Life is Quite Simple

Ethan C. Wright

Introspection, Whimsy, and Catharsis

Sapna M

I’ve been to prison multiple times; with no regrets.

Ann Venkataraman

Murder Mystery at Sapphire Beach

Scott Coleson

What Is Love?

Burk

5 Grooming Tips Most Of My Male Friends Neglect

Catrina Cowart

I Wrote New Content for 30 Days

Dhanaraj Natesan

What Are The Foods To Avoid In The Summer?

JJ Sum

How Plants Ease Boredom During Lockdown

Kimberly B

7 Annoying Behaviours of Highly Entitled People

P.S.P. French

The Elegant Anatomy of a Copywriting Offer

Sumesh P

The Anatomy of Scams and How to Stay Safe — Advance Fee Scam

Ankit Singh

5 Deadly Mistakes That Will Ruin Your Startup

Terry Trueman

Ronald Reagan

Jennifer Dunne

6 Key Principles for a Successful Mastermind Experience

JacquelineTV

The Letter That Matters #3 — to my Power

Dr Mehmet Yildiz

If You Don’t Like An Article, You Don’t Have To Read it

John Ross

I Can’t Help it, I’m Yours

Deepak Sethi

YouTube Vs TikTok: Comparison of the platforms.

Steve C

Lessons from Kierkegaard

Benazir San

My Truth

The Introverted Vet

The Predicament the Veterinary Industry is Facing

EJY

Behaviors Established During the Pandemic are Beneficial to Both You and the Planet

Jan Vajda

What It’s Like to Dance in Front of 5,000 Cheering People

Alice Vuong

The Ultimate Guide To A Truly Unproductive Day

Abdullah Nadeem

3 Things Will Smith Does to Ensure Success & Inner Peace

Andrew Katz

On Hating Men

Ethan C. Wright

10 Things I’m Planning to Use Apple’s New AirTags On

Mandy Capehart

I Will Not Live in Fear of the Break

Ntathu Allen

One-Lined Poem: Happiness (#18)

Humaira Iqbal

Success Around Her Corner

Linda Acaster

How Do Writers Turn an Idea Into Fiction?

Stephan Chatigny

Would You Relive Your Life As Is?

Bill Abbate

How Time Changes through the Life of a Regular Person

Lucy Dan 蛋小姐 (she/her/她)

Numbers

maurice blocker

I AM not SORRY

Teresa Kuhl

Defining LGBTQ With Some New Words

Amethyst Qu

Three Encounters With Red-Headed Woodpeckers

Trisha Dunbar

It’s Time to Start Talking About the Strengths of a Neuro-Diverse Workplace

Aldric Chen

These are my Secrets for Losing 10 Kilograms Daily

Anthony Jackson

The Bird Without Wings

LJWriter

Reflections from a Recovering Hothead

Claire Kelly

I Used to Think I Could Fly

Alex Ghaznawi

Letting Go Of Your Perfectionism Can Help You Move Forward in Life

Barbara Dalton

When A Marriage Fails

Stuart Englander

Day Tripping: April 23

Dave Richards

Beware Police Revenge For Chauvin

Patrick M. Ohana

Georges Brassens

Terry Mansfield

My Never-Ending Encounters With Medical Specialists

ABINAS JAGERNAUTH

I Received an Email From India About Covid-19 Suffering and Deaths

Celine Lai

What bothers me as a writer and what I want to do about it, and “the More Beautiful Question”

Graceygee

3 Reasons Why You Should Invest Into Getting A Coach and a Therapist

The Maverick Files

Saving A Stranger from A One-Night-Stand Gave Me A Lifelong Friend

America Zed

Dissolve In Peace

Ilona D.

How to Learn Faster And 10x Better

Neera Mahajan

Five Rules To Overcome Self-doubt

Yaqoob ahmad

7 Ways to Trust the Process

Dr Sachin pandit

Announcing 5 Factors of Marketing That Can Increase the Product Sell

Veronika Kaufmann

A Story Worth Sharing

Mariza Writes

Want To Be Happier? Start Tracking Your Mood Daily

Several new authors joined ILLUMINATION Book Chapters. You can enjoy chapters from their published books. Check them!

Thank you for reading our stories.

Many thanks to our editors who reviewed and published these stories for you. Our editors work hard to help our writers submit their best stories. They invest their precious time volunteering for the smooth publishing of stories every day. ILLUMINATION-Curated, ILLUMINATION, Dr Mehmet Yildiz, Brian E. Wish, PhD, Dr Ron Pol, Dr Michael Heng,Paul Myers MBA, Karen Madej, Joe Luca, Dipti Pande, Kevin Buddaeus, Kate Maxwell, Arthur G. Hernandez, Bill Abbate, Michael Patanella, Aurora Eliam, CMP, René Junge, Geetika Sethi, Ahmed Jamal, Britni Pepper, Selma,Earnest Painter, Dew Langrial, B. A. Cumberlidge. Lanu Pitan, Agnes Laurens, EP McKnight, MEd, CR Mandler MAT, The Maverick Files, Sumera Rizwan, Liam Ireland, Tony Young, Jr., Neha Sandhir S, Desiree Driesenaar, Stuart Englander, Ntathu Allen, Thewriteyard, Haimish Mead, Maria Rattray, Cristo Lopez, PhD, Dr Preeti Singh, Holly Kellums, Kristina Segarra, Yohanan Gregorius, Audrey Malone,janny’s heart, Sabana Grande, Jennifer Friebely, Zen Chan, Aamir Kamal 🚀🚀🚀, John Cunningham, [arlie] PEYTON, Georgia Dimitrious, Kim Petersen, Josh Balerite Acol, Noorain Hassan, BMS, Mallika Vasak, Ikram Al Mouaswas, Terry L. Cooper, George Blue Kelly, Scott Hughey (TheWriteScott), Claire Kelly, Tree Langdon

You can find editor profiles in this story.

Invitation to prospective writers

To join ILLUMINATION, ILLUMINATION-Curated, ILLUMINATION’ S MIRROR, ILLUMINATION Book Chapters, Technology Hits, and SYNERGY.please send a request via this link. We will help you succeed. 9,400+ writers contribute to our publications.

Please subscribe to our free newsletter and stay in touch with our progress and get customized content for your writing and reading needs. You can also subscribe and enjoy free Content Strategy, Development, and Marketing Insights shared by Dr Mehmet Yildiz.

Thank you for reading stories of outstanding writers compiled by ILLUMINATION-Curated, ILLUMINATION and Editor of Technology Hits

Thank you for reading stories of outstanding writers compiled by ILLUMINATION-Curated, ILLUMINATION and Editor of Technology Hits

Please check Book Chapters from our accomplished authors on ILLUMINATION Book Chapters.

Writing
Books
Business
Investing
Leadership
Recommended from ReadMedium