Training: June 20–21, 2016
Tutorials: June 21, 2016
Keynotes & Sessions: June 22–23, 2016
Santa Clara, CA

Taking back control over third-party content

Yoav Weiss (Akamai)
3:40pm–4:20pm Wednesday, 06/22/2016
First time at Velocity Santa Clara, Performance for the people
Location: Ballroom CD Level: Beginner
Average rating: ****.
(4.17, 6 ratings)

Prerequisite knowledge

Attendees should have a basic knowledge of web performance, HTTP, and the web ecosystem.


We have a complex love-hate relationship with the third-party content on our sites, and it has taken a turn for the worse. On the one hand, third-party content often pays the bills. On the other hand, recent developments have increased its “cost.” HTTP/2 means third-party content is even more of a performance burden than before; the weight of that content is taking up an ever larger percentage of our site’s overall bytesize; ad-blockers mean users have had enough; and projects like Google AMP and Facebook Instant Articles mean that embedders feel the same.

Our lack of control over what third parties are doing on our sites is showing. How can we gain it back?

Yoav Weiss explores mitigation tactics as well as a long-term plan to restore sanity to the ecosystem, arguing that we need mechanisms that put developers back in the driver’s seat as well as smarter ad blockers so that responsible third parties can remain a source of income.

Topics include:

  • Asynchronous loading techniques that can minimize the impact third parties have on your user’s experience
  • Preconnect and preload that can initiate the loading process of third party resources sooner, getting them off the critical loading path
  • Service workers that can be used to avoid frontend SPOFs, as well as monitoring which domains get connected to
  • CSP that can also be used to control and monitor connected domains
  • IFrames and sandboxing that can be used to reduce the security risks that third-party scripts bring along
Photo of Yoav Weiss

Yoav Weiss


Yoav Weiss is a principal architect at Akamai, where he focuses on making the web platform faster by adding performance-related features to browsers as well as to Akamai’s CDN. Yoav has been working on mobile web performance for longer than he cares to admit. He takes image bloat on the web as a personal insult, which is why he joined the Responsive Image community group and implemented the various responsive images features in Blink and WebKit. When he’s not writing code, he’s probably slapping his bass, mowing the lawn in the French countryside, or playing board games with his family.