PreviousNext

Extracting and Hashing Lazy-Loaded CSS in Angular

by yekuta, 2020-07-09T08:08:07.324Z

There is no doubt that we all want our applications to load very fast. To do this, we need to keep the initial bundle size small. Lazy loading is one of the methods we use in this case. We can lazy load some third-party JavaScript files and some CSS files. In this article, we will learn how to lazy load our CSS files and how to extract them with a hash on production build to prevent browser cache.

Read More