Chapter 9. Performance

This chapter covers

  • Minimizing initial payload
  • Reducing network requests
  • Minimizing impact on the publisher’s page
  • Controlling expensive JavaScript calls
  • Improving perceived performance

At this point, you’ve learned almost everything you need to know about building a third-party JavaScript application. You know how to distribute your code, render safely on the publisher’s page, establish communication channels, and even provide a suite of client-side functionalities through a JavaScript SDK. You’re also familiar with the common security threats you might encounter when your application is exposed to the public. Now that we’ve covered the fundamentals, we’ll discuss how to make your third-party application fast ...

Get Third-Party JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.