O'Reilly logo

Single Page Web Applications: JavaScript end-to-end by Michael S. Mikowski and Josh C. Powell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 9. Readying our SPA for production

This chapter covers
  • Optimizing SPAs for search engines
  • Using Google Analytics
  • Placing static content on a content delivery network (CDN)
  • Logging client errors
  • Caching and cache busting

This chapter builds on code we’ve written in chapter 8. We recommend copying the entire directory structure of that chapter into a new “chapter_9” directory and updating the files there.

We’ve finished writing a responsive SPA using a well-tested architecture, but some challenges remain that are less about programming and more about operations.

We need to adjust our SPA so that users can use Google and other search engines to find what they need. Our web server needs to interact with the crawler ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required