27 Optimizing application delivery

This chapter covers

  • Reducing the size of the application using dynamically loaded modules
  • Using server-side rendering to create an HTML representation of the application
  • Using rehydration to transition from server-rendered HTML to browser-generated content
  • Prerendering the application to create a static HTML representation of the application

Complex Angular applications can require large JavaScript files, which can take a long time to download over a slow network connection. In this chapter, I describe the features Angular provides for optimizing application delivery to minimize the amount of time before the user can interact with the application.

Table 27.1. Putting optimized application delivery in ...

Get Pro Angular 16 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.