# lazy loading

Published articles for lazy loading.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## How ORM N+1 Queries Create Hidden Request Latency

DevFeed: [How ORM N+1 Queries Create Hidden Request Latency](<https://devfeed.tech/articles/your-orm-issued-400-queries-and-the-p99-looked-fine-until-it-didn-t-39588.md>)

Original publisher: [Read original article](<https://ankit-rana.com/logs/36-orm-n-plus-one-queries-hidden-latency/>)

Author: hello@ankit-rana.com

Published: 2026-08-02T00:00:00Z

Content type: tutorial

Language: en

Sources: [Ankit Rana | Mechanical Sympathy](<https://devfeed.tech/sources/ankit-rana-mechanical-sympathy.md>)

Topics: [Object-relational mapping](<https://devfeed.tech/topics/orm.md>), [Latency](<https://devfeed.tech/topics/latency.md>), [Monitoring](<https://devfeed.tech/topics/monitoring.md>), [lazy loading](<https://devfeed.tech/topics/lazy-loading.md>), [Database](<https://devfeed.tech/topics/database.md>), [connection pool](<https://devfeed.tech/topics/connection-pool.md>)

Tags: [connection-pool](<https://devfeed.tech/tags/connection-pool.md>), [database](<https://devfeed.tech/tags/database.md>), [database-performance](<https://devfeed.tech/tags/database-performance.md>), [hibernate](<https://devfeed.tech/tags/hibernate.md>), [latency](<https://devfeed.tech/tags/latency.md>), [lazy-loading](<https://devfeed.tech/tags/lazy-loading.md>), [monitoring](<https://devfeed.tech/tags/monitoring.md>), [n-plus-one](<https://devfeed.tech/tags/n-plus-one.md>), [observability](<https://devfeed.tech/tags/observability.md>), [orm](<https://devfeed.tech/tags/orm.md>), [query](<https://devfeed.tech/tags/query.md>), [request](<https://devfeed.tech/tags/request.md>)

### AI overview

This article explains how ORM lazy loading can turn a loop over orders into an N+1 query pattern. Individual queries may remain fast and avoid slow-query alerts, while the accumulated network round trips increase request latency and hold connection-pool resources. It recommends monitoring queries per request and asserting query counts in tests.

### Source excerpt

N+1 queries hide from monitoring because no individual query is slow. Four hundred queries at 0.4ms each never appear in the slow query log, never move p99 query latency, and still cost the request 300ms because the expense is the round trip rather than the execution. The metric that catches it is queries per request, and the only durable fix is asserting on that count in tests, since the code that causes it looks like a field access rather than I/O.

## How To Use Standard HTML Video & Audio Lazy-Loading on the Web Today

DevFeed: [How To Use Standard HTML Video & Audio Lazy-Loading on the Web Today](<https://devfeed.tech/articles/how-to-use-standard-html-video-audio-lazy-loading-on-the-web-today-30780.md>)

Original publisher: [Read original article](<https://engineering.squarespace.com/blog/2026/how-to-use-standard-html-video-and-audio-lazy-loading-on-the-web-today>)

Author: Scott Jehl

Published: 2026-04-07T14:30:00Z

Content type: tutorial

Language: en

Sources: [Squarespace](<https://devfeed.tech/sources/squarespace.md>), [Squarespace Engineering Blog](<https://devfeed.tech/sources/squarespace-engineering-blog.md>)

Topics: [HTML](<https://devfeed.tech/topics/html.md>), [lazy loading](<https://devfeed.tech/topics/lazy-loading.md>), [web-standards](<https://devfeed.tech/topics/web-standards.md>), [browsers](<https://devfeed.tech/topics/browsers.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>)

Tags: [audio](<https://devfeed.tech/tags/audio.md>), [best-practices](<https://devfeed.tech/tags/best-practices.md>), [browsers](<https://devfeed.tech/tags/browsers.md>), [gotchas](<https://devfeed.tech/tags/gotchas.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [html](<https://devfeed.tech/tags/html.md>), [lazy-loading](<https://devfeed.tech/tags/lazy-loading.md>), [video](<https://devfeed.tech/tags/video.md>)

### AI overview

This tutorial explains how to use standard HTML video and audio lazy loading on websites. It covers recommended practices and common implementation pitfalls, noting that the feature is gaining support in major browsers.

### Source excerpt

HTML video and audio lazy loading is now a web standard and quickly gaining support in all major browsers. Given Squarespace's role in proposing and implementing it, we're very excited to see how developers use it on the web. Let's cover some best practices for using video and audio lazy loading in any website, as well as some gotchas to avoid.

## Squarespace & Web Standards: How We Helped Bring HTML Video & Audio Lazy Loading to Today's Browsers

DevFeed: [Squarespace & Web Standards: How We Helped Bring HTML Video & Audio Lazy Loading to Today's Browsers](<https://devfeed.tech/articles/squarespace-web-standards-how-we-helped-bring-html-video-audio-lazy-loading-to-today-s-browsers-30781.md>)

Original publisher: [Read original article](<https://engineering.squarespace.com/blog/2026/squarespace-and-web-standards-how-we-helped-bring-html-video-and-audio-lazy-loading-to-todays-browsers>)

Author: Scott Jehl

Published: 2026-03-30T21:00:00Z

Content type: article

Language: en

Sources: [Squarespace](<https://devfeed.tech/sources/squarespace.md>), [Squarespace Engineering Blog](<https://devfeed.tech/sources/squarespace-engineering-blog.md>)

Topics: [web-standards](<https://devfeed.tech/topics/web-standards.md>), [lazy loading](<https://devfeed.tech/topics/lazy-loading.md>), [HTML](<https://devfeed.tech/topics/html.md>), [Web platform](<https://devfeed.tech/topics/web-platform.md>), [WebKit](<https://devfeed.tech/topics/webkit.md>), [Chromium](<https://devfeed.tech/topics/chromium.md>), [Google Chrome](<https://devfeed.tech/topics/google-chrome.md>), [Firefox](<https://devfeed.tech/topics/firefox.md>)

Tags: [browsers](<https://devfeed.tech/tags/browsers.md>), [chrome](<https://devfeed.tech/tags/chrome.md>), [chromium](<https://devfeed.tech/tags/chromium.md>), [firefox](<https://devfeed.tech/tags/firefox.md>), [html](<https://devfeed.tech/tags/html.md>), [lazy-loading](<https://devfeed.tech/tags/lazy-loading.md>), [standards](<https://devfeed.tech/tags/standards.md>), [web-standards](<https://devfeed.tech/tags/web-standards.md>)

### AI overview

Squarespace engineers describe how they helped add lazy loading for HTML video and audio to the HTML Standard. They contributed proposed implementations for Firefox and WebKit, worked with Chromium developers on a Google Chrome implementation, and added automated testing.

### Source excerpt

At Squarespace, many of our core products are built on web standards, and our engineers are constantly pushing the boundaries of the web's capabilities. Occasionally, those boundaries reveal a limitation: an opportunity for the web's native capabilities to grow. This post is the story of how we found such an opportunity to work with the standards community to improve the web in a way that we - and everyone who uses it - can benefit.

## React Router 7 Lazy Loading

DevFeed: [React Router 7 Lazy Loading](<https://devfeed.tech/articles/react-router-7-lazy-loading-18969.md>)

Original publisher: [Read original article](<https://www.robinwieruch.de/react-router-lazy-loading/>)

Author: Robin Wieruch

Published: 2025-01-06T05:52:51Z

Content type: tutorial

Language: en

Sources: [Robin Wieruch](<https://devfeed.tech/sources/robin-wieruch.md>)

Topics: [React Router](<https://devfeed.tech/topics/react-router.md>), [Tutorial](<https://devfeed.tech/topics/tutorial.md>), [React](<https://devfeed.tech/topics/react.md>), [Optimization](<https://devfeed.tech/topics/optimization.md>)

Tags: [code-splitting](<https://devfeed.tech/tags/code-splitting.md>), [lazy-loading](<https://devfeed.tech/tags/lazy-loading.md>), [performance](<https://devfeed.tech/tags/performance.md>), [react](<https://devfeed.tech/tags/react.md>), [react-router](<https://devfeed.tech/tags/react-router.md>), [react-router-7](<https://devfeed.tech/tags/react-router-7.md>), [react-router-lazy-loading](<https://devfeed.tech/tags/react-router-lazy-loading.md>), [react-router-tutorial](<https://devfeed.tech/tags/react-router-tutorial.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>)

### AI overview

This tutorial explains route-level lazy loading with React Router 7. It shows how splitting an application into smaller bundles can load only the code needed for a visited route, and demonstrates React.lazy, React Suspense, and @loadable/component.

### Source excerpt

How to: React Router 7 Lazy Loading: code-splitting at route level helps you lazy-load just the things that are needed by the user, which dramatically improves the performance ...

## Announcing Inertia 2.0: Redefining Frontend Development for Laravel

DevFeed: [Announcing Inertia 2.0: Redefining Frontend Development for Laravel](<https://devfeed.tech/articles/announcing-inertia-2-0-redefining-frontend-development-for-laravel-3579.md>)

Original publisher: [Read original article](<https://laravel.com/blog/announcing-inertia-20-redefining-frontend-development-for-laravel>)

Author: Joe Tannenbaum

Published: 2024-12-13T19:28:00Z

Content type: release

Language: en

Sources: [Laravel Blog](<https://devfeed.tech/sources/laravel-blog.md>)

Topics: [Laravel](<https://devfeed.tech/topics/laravel.md>), [frontend development](<https://devfeed.tech/topics/frontend-development.md>), [Front end](<https://devfeed.tech/topics/frontend.md>), [Single-page application (SPA)](<https://devfeed.tech/topics/spa.md>), [React](<https://devfeed.tech/topics/react.md>), [Svelte](<https://devfeed.tech/topics/svelte.md>), [Vue.js](<https://devfeed.tech/topics/vue.md>), [Object-relational mapping](<https://devfeed.tech/topics/orm.md>), [Routing (disambiguation)](<https://devfeed.tech/topics/routing.md>), [Core Web Vitals](<https://devfeed.tech/topics/core-web-vitals.md>)

Tags: [async](<https://devfeed.tech/tags/async.md>), [core-web-vitals](<https://devfeed.tech/tags/core-web-vitals.md>), [deferred](<https://devfeed.tech/tags/deferred.md>), [frontend-development](<https://devfeed.tech/tags/frontend-development.md>), [laravel](<https://devfeed.tech/tags/laravel.md>), [lazy-loading](<https://devfeed.tech/tags/lazy-loading.md>), [orm](<https://devfeed.tech/tags/orm.md>), [performance](<https://devfeed.tech/tags/performance.md>), [react](<https://devfeed.tech/tags/react.md>), [release](<https://devfeed.tech/tags/release.md>), [routing](<https://devfeed.tech/tags/routing.md>), [svelte](<https://devfeed.tech/tags/svelte.md>), [vue](<https://devfeed.tech/tags/vue.md>)

### AI overview

Inertia 2.0 is a stable release that adds asynchronous requests, deferred props, prefetching, and polling to Laravel frontend development. These features support more responsive applications while avoiding the complexity of maintaining a separate API.

### Source excerpt

Inertia 2.0 brings powerful new features to Laravel frontend development including async requests, deferred props, prefetching, and polling. Learn how these improvements help you build faster, more responsive applications without the complexity of maintaining a separate API.

## Common Chunk and Lazy Loading in Angular

DevFeed: [Common Chunk and Lazy Loading in Angular](<https://devfeed.tech/articles/common-chunk-and-lazy-loading-in-angular-21377.md>)

Original publisher: [Read original article](<https://juri.dev/blog/2021/02/common-chunk-lazy-loading-angular-cli/>)

Published: 2021-02-17T00:00:00Z

Content type: tutorial

Language: en

Sources: [Juri Strumpflohner](<https://devfeed.tech/sources/juri-strumpflohner.md>)

Topics: [Angular](<https://devfeed.tech/topics/angular.md>), [Angular CLI](<https://devfeed.tech/topics/angular-cli.md>), [Webpack](<https://devfeed.tech/topics/webpack.md>), [configuration](<https://devfeed.tech/topics/configuration.md>), [modules](<https://devfeed.tech/topics/modules.md>)

Tags: [angular](<https://devfeed.tech/tags/angular.md>), [config](<https://devfeed.tech/tags/config.md>), [lazy-loading](<https://devfeed.tech/tags/lazy-loading.md>), [performance](<https://devfeed.tech/tags/performance.md>), [webpack](<https://devfeed.tech/tags/webpack.md>)

### AI overview

A tutorial explaining Angular lazy loading, the common.js chunk, and the Angular CLI's commonChunk configuration option. It describes how Angular Router and Webpack split JavaScript into on-demand chunks, why shared code is placed in a startup-loaded common chunk, and when disabling that behavior may improve startup speed at the cost of code duplication.

### Source excerpt

Lorem ipsum dolor sit amet

## Why I migrated to the Fish Shell

DevFeed: [Why I migrated to the Fish Shell](<https://devfeed.tech/articles/why-i-migrated-to-the-fish-shell-37715.md>)

Original publisher: [Read original article](<https://carlosbecker.com/posts/fish/>)

Author: Carlos Alexandro Becker

Published: 2020-12-07T00:00:00Z

Content type: opinion

Language: en

Sources: [Carlos Becker](<https://devfeed.tech/sources/carlos-becker.md>)

Topics: [friendly interactive shell](<https://devfeed.tech/topics/fish.md>), [Shell](<https://devfeed.tech/topics/shell.md>), [Zsh](<https://devfeed.tech/topics/zsh.md>), [Bash](<https://devfeed.tech/topics/bash.md>), [dotfiles](<https://devfeed.tech/topics/dotfiles.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [Environment Variables](<https://devfeed.tech/topics/environment-variables.md>), [lazy loading](<https://devfeed.tech/topics/lazy-loading.md>), [Scripting](<https://devfeed.tech/topics/scripting.md>)

Tags: [aliases](<https://devfeed.tech/tags/aliases.md>), [bash](<https://devfeed.tech/tags/bash.md>), [environment-variables](<https://devfeed.tech/tags/environment-variables.md>), [lazy-loading](<https://devfeed.tech/tags/lazy-loading.md>), [plugins](<https://devfeed.tech/tags/plugins.md>), [porting](<https://devfeed.tech/tags/porting.md>), [prompt](<https://devfeed.tech/tags/prompt.md>), [scripting](<https://devfeed.tech/tags/scripting.md>), [shell](<https://devfeed.tech/tags/shell.md>), [zsh](<https://devfeed.tech/tags/zsh.md>)

### AI overview

The author explains migrating dotfiles from Zsh to Fish, emphasizing Fish's startup performance, universal variables, lazy loading, and built-in features such as syntax highlighting, autosuggestions, and man-page completions. The article also notes differences from POSIX shells and describes the author's plugin setup.

### Source excerpt

Back in June, I started porting my dotfiles from ZSH to Fish. Here's why.

## Talk: Lazy Loading on Steroids with Angular Elements

DevFeed: [Talk: Lazy Loading on Steroids with Angular Elements](<https://devfeed.tech/articles/talk-lazy-loading-on-steroids-with-angular-elements-21363.md>)

Original publisher: [Read original article](<https://juri.dev/blog/2019/12/jsbe-lazy-loading-ngelements/>)

Published: 2019-12-17T00:00:00Z

Content type: article

Language: en

Sources: [Juri Strumpflohner](<https://devfeed.tech/sources/juri-strumpflohner.md>)

Topics: [Angular](<https://devfeed.tech/topics/angular.md>)

Tags: [angular](<https://devfeed.tech/tags/angular.md>), [angular-elements](<https://devfeed.tech/tags/angular-elements.md>), [js](<https://devfeed.tech/tags/js.md>), [lazy-loading](<https://devfeed.tech/tags/lazy-loading.md>), [performance](<https://devfeed.tech/tags/performance.md>), [talk](<https://devfeed.tech/tags/talk.md>), [video](<https://devfeed.tech/tags/video.md>)

### AI overview

A talk about lazy loading in Angular with Angular Elements, accompanied by a recording, slides, and a repository.

### Source excerpt

Lorem ipsum dolor sit amet

## Lazy Loading with Angular Elements and ngx-lazy-el

DevFeed: [Lazy Loading with Angular Elements and ngx-lazy-el](<https://devfeed.tech/articles/lazy-loading-with-angular-elements-and-ngx-lazy-el-21361.md>)

Original publisher: [Read original article](<https://juri.dev/blog/2019/11/lazy-loading-angular-ngx-lazy-el/>)

Published: 2019-11-06T00:00:00Z

Content type: tutorial

Language: en

Sources: [Juri Strumpflohner](<https://devfeed.tech/sources/juri-strumpflohner.md>)

Topics: [Angular](<https://devfeed.tech/topics/angular.md>), [Angular CLI](<https://devfeed.tech/topics/angular-cli.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>)

Tags: [angular](<https://devfeed.tech/tags/angular.md>), [angular-elements](<https://devfeed.tech/tags/angular-elements.md>), [chrome](<https://devfeed.tech/tags/chrome.md>), [ci](<https://devfeed.tech/tags/ci.md>), [cli](<https://devfeed.tech/tags/cli.md>), [es2015](<https://devfeed.tech/tags/es2015.md>), [firefox](<https://devfeed.tech/tags/firefox.md>), [lazy-loading](<https://devfeed.tech/tags/lazy-loading.md>), [performance](<https://devfeed.tech/tags/performance.md>), [web-performance](<https://devfeed.tech/tags/web-performance.md>)

### AI overview

A tutorial on reducing startup time in Angular web applications through lazy loading. It focuses on lazy loading non-routed components with Angular Elements and ngx-lazy-el, and also discusses differential loading, performance budgets, and router-based lazy loading.

### Source excerpt

Lorem ipsum dolor sit amet

## Manually Lazy Load an Angular Module with ViewEngine and Ivy

DevFeed: [Manually Lazy Load an Angular Module with ViewEngine and Ivy](<https://devfeed.tech/articles/manually-lazy-load-an-angular-module-with-viewengine-and-ivy-21360.md>)

Original publisher: [Read original article](<https://juri.dev/blog/2019/10/lazyload-module-ivy-viewengine/>)

Published: 2019-09-30T00:00:00Z

Content type: tutorial

Language: en

Sources: [Juri Strumpflohner](<https://devfeed.tech/sources/juri-strumpflohner.md>)

Topics: [Angular](<https://devfeed.tech/topics/angular.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [Webpack](<https://devfeed.tech/topics/webpack.md>)

Tags: [angular](<https://devfeed.tech/tags/angular.md>), [code-splitting](<https://devfeed.tech/tags/code-splitting.md>), [lazy-loading](<https://devfeed.tech/tags/lazy-loading.md>), [webpack](<https://devfeed.tech/tags/webpack.md>)

### AI overview

A tutorial on manually lazy-loading an Angular module in a way compatible with ViewEngine and Ivy. It explains Angular's router-based lazy loading, CLI and Webpack code splitting, dynamic loading syntax, and module instantiation.

### Source excerpt

Lorem ipsum dolor sit amet

## Angular Performance: Preloading Lazy Routes

DevFeed: [Angular Performance: Preloading Lazy Routes](<https://devfeed.tech/articles/angular-performance-preloading-lazy-routes-21353.md>)

Original publisher: [Read original article](<https://juri.dev/blog/2019/08/ngperf-preloading-lazy-routes/>)

Published: 2019-08-27T00:00:00Z

Content type: tutorial

Language: en

Sources: [Juri Strumpflohner](<https://devfeed.tech/sources/juri-strumpflohner.md>)

Topics: [Angular](<https://devfeed.tech/topics/angular.md>), [Angular CLI](<https://devfeed.tech/topics/angular-cli.md>), [Development](<https://devfeed.tech/topics/development.md>)

Tags: [angular](<https://devfeed.tech/tags/angular.md>), [code-splitting](<https://devfeed.tech/tags/code-splitting.md>), [lazy-loading](<https://devfeed.tech/tags/lazy-loading.md>), [library](<https://devfeed.tech/tags/library.md>), [modules](<https://devfeed.tech/tags/modules.md>), [performance](<https://devfeed.tech/tags/performance.md>), [route](<https://devfeed.tech/tags/route.md>), [videos](<https://devfeed.tech/tags/videos.md>)

### AI overview

A tutorial on preloading lazy routes in Angular. It covers preloading all lazy modules, defining a custom preloading strategy, and using ngx-quicklink to automatically load visible links.

### Source excerpt

Lorem ipsum dolor sit amet

## Angular Performance: Route Level Code Splitting

DevFeed: [Angular Performance: Route Level Code Splitting](<https://devfeed.tech/articles/angular-performance-route-level-code-splitting-21354.md>)

Original publisher: [Read original article](<https://juri.dev/blog/2019/08/ngperf-route-level-code-splitting/>)

Published: 2019-08-26T00:00:00Z

Content type: tutorial

Language: en

Sources: [Juri Strumpflohner](<https://devfeed.tech/sources/juri-strumpflohner.md>)

Topics: [Angular](<https://devfeed.tech/topics/angular.md>), [Code](<https://devfeed.tech/topics/code.md>), [Development](<https://devfeed.tech/topics/development.md>), [Web](<https://devfeed.tech/topics/web.md>)

Tags: [angular](<https://devfeed.tech/tags/angular.md>), [cli](<https://devfeed.tech/tags/cli.md>), [code](<https://devfeed.tech/tags/code.md>), [code-splitting](<https://devfeed.tech/tags/code-splitting.md>), [generate](<https://devfeed.tech/tags/generate.md>), [implement](<https://devfeed.tech/tags/implement.md>), [lazy-loading](<https://devfeed.tech/tags/lazy-loading.md>), [load](<https://devfeed.tech/tags/load.md>), [metric](<https://devfeed.tech/tags/metric.md>), [performance](<https://devfeed.tech/tags/performance.md>), [route](<https://devfeed.tech/tags/route.md>), [time-to-interactive](<https://devfeed.tech/tags/time-to-interactive.md>), [videos](<https://devfeed.tech/tags/videos.md>)

### AI overview

This tutorial explains route-level code splitting and lazy loading in Angular. It connects loading only the minimum necessary application code to improving time to interactive, and mentions generating lazy routes with the Angular CLI.

### Source excerpt

Lorem ipsum dolor sit amet

## Dynamically Load CSS with the Angular CLI

DevFeed: [Dynamically Load CSS with the Angular CLI](<https://devfeed.tech/articles/dynamically-load-css-with-the-angular-cli-21350.md>)

Original publisher: [Read original article](<https://juri.dev/blog/2019/08/dynamically-load-css-angular-cli/>)

Published: 2019-08-22T00:00:00Z

Content type: tutorial

Language: en

Sources: [Juri Strumpflohner](<https://devfeed.tech/sources/juri-strumpflohner.md>)

Topics: [Angular](<https://devfeed.tech/topics/angular.md>), [Angular CLI](<https://devfeed.tech/topics/angular-cli.md>), [CSS](<https://devfeed.tech/topics/css.md>), [how to create smooth CSS transitions](<https://devfeed.tech/topics/how-to-create-smooth-css-transitions.md>), [modern web development](<https://devfeed.tech/topics/modern-web-development.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>)

Tags: [angular](<https://devfeed.tech/tags/angular.md>), [cli](<https://devfeed.tech/tags/cli.md>), [css](<https://devfeed.tech/tags/css.md>), [development](<https://devfeed.tech/tags/development.md>), [lazy-loading](<https://devfeed.tech/tags/lazy-loading.md>), [themes](<https://devfeed.tech/tags/themes.md>), [tooling](<https://devfeed.tech/tags/tooling.md>)

### AI overview

This tutorial explains how to configure the Angular CLI to produce separate CSS or Sass entry points and lazy load them at runtime. It describes using independent styles for themes or clients, preventing all styles from being included together, and adding the selected stylesheet dynamically through a link element.

### Source excerpt

Lorem ipsum dolor sit amet

## Angular 8 and the Future - NGConf 2019 Roundup

DevFeed: [Angular 8 and the Future - NGConf 2019 Roundup](<https://devfeed.tech/articles/angular-8-and-the-future-ngconf-2019-roundup-21338.md>)

Original publisher: [Read original article](<https://juri.dev/blog/2019-05-01-ngconf-2019-roundup/>)

Published: 2019-05-01T00:00:00Z

Content type: opinion

Language: en

Sources: [Juri Strumpflohner](<https://devfeed.tech/sources/juri-strumpflohner.md>)

Topics: [Angular](<https://devfeed.tech/topics/angular.md>), [Angular CLI](<https://devfeed.tech/topics/angular-cli.md>), [Framework](<https://devfeed.tech/topics/framework.md>), [Optimization](<https://devfeed.tech/topics/optimization.md>), [browsers](<https://devfeed.tech/topics/browsers.md>), [Chrome](<https://devfeed.tech/topics/chrome.md>)

Tags: [angular](<https://devfeed.tech/tags/angular.md>), [chrome](<https://devfeed.tech/tags/chrome.md>), [cli](<https://devfeed.tech/tags/cli.md>), [feature](<https://devfeed.tech/tags/feature.md>), [features](<https://devfeed.tech/tags/features.md>), [generators](<https://devfeed.tech/tags/generators.md>), [lazy-loading](<https://devfeed.tech/tags/lazy-loading.md>), [optimization](<https://devfeed.tech/tags/optimization.md>), [performance](<https://devfeed.tech/tags/performance.md>), [techniques](<https://devfeed.tech/tags/techniques.md>), [videos](<https://devfeed.tech/tags/videos.md>), [youtube](<https://devfeed.tech/tags/youtube.md>)

### AI overview

A personal roundup of NGConf 2019 announcements focused on Angular 8, including its positioning as a platform, differential loading, and Angular CLI builders. The article says differential loading creates separate bundles for modern and legacy browsers, potentially reducing bundle size by about 7-20% without server-side infrastructure changes.

### Source excerpt

Lorem ipsum dolor sit amet

## Lazy load Angular Components

DevFeed: [Lazy load Angular Components](<https://devfeed.tech/articles/lazy-load-angular-components-21345.md>)

Original publisher: [Read original article](<https://juri.dev/blog/2019/04/state-lazy-loading-components-angular/>)

Published: 2019-04-29T00:00:00Z

Content type: tutorial

Language: en

Sources: [Juri Strumpflohner](<https://devfeed.tech/sources/juri-strumpflohner.md>)

Topics: [Angular](<https://devfeed.tech/topics/angular.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Single-page application (SPA)](<https://devfeed.tech/topics/spa.md>), [TypeScript](<https://devfeed.tech/topics/typescript.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [browser](<https://devfeed.tech/topics/browser.md>)

Tags: [angular](<https://devfeed.tech/tags/angular.md>), [browser](<https://devfeed.tech/tags/browser.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [lazy-loading](<https://devfeed.tech/tags/lazy-loading.md>), [performance](<https://devfeed.tech/tags/performance.md>), [typescript](<https://devfeed.tech/tags/typescript.md>), [videos](<https://devfeed.tech/tags/videos.md>)

### AI overview

This tutorial explains lazy loading for Angular components as a way to reduce initial JavaScript bundle size and improve startup performance in single-page applications. It describes deferring rarely used sections, such as a settings area, until they are needed and discusses loading them through separate JavaScript files, including approaches powered by Angular Elements.

### Source excerpt

Lorem ipsum dolor sit amet

## How Twitch Addresses Scalability and Authentication

DevFeed: [How Twitch Addresses Scalability and Authentication](<https://devfeed.tech/articles/how-twitch-addresses-scalability-and-authentication-20451.md>)

Original publisher: [Read original article](<https://medium.com/twitch-news/how-twitch-addresses-scalability-and-authentication-718d6ed3c471?source=rss----3ae745429979--engineering>)

Author: Eugene Pivovarov

Published: 2019-03-15T19:13:30Z

Content type: article

Language: en

Sources: [Twitch](<https://devfeed.tech/sources/twitch.md>)

Topics: [Twitch](<https://devfeed.tech/topics/twitch.md>), [Authentication](<https://devfeed.tech/topics/authentication.md>), [OAuth 2.0](<https://devfeed.tech/topics/oauth2.md>), [Scalability](<https://devfeed.tech/topics/scalability.md>), [JSON Web Tokens](<https://devfeed.tech/topics/jwt.md>), [API](<https://devfeed.tech/topics/api.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [identity-management](<https://devfeed.tech/tags/identity-management.md>), [jwt](<https://devfeed.tech/tags/jwt.md>), [latency](<https://devfeed.tech/tags/latency.md>), [lazy-loading](<https://devfeed.tech/tags/lazy-loading.md>), [oauth-2-0](<https://devfeed.tech/tags/oauth-2-0.md>), [scalability](<https://devfeed.tech/tags/scalability.md>), [tls](<https://devfeed.tech/tags/tls.md>), [twitch](<https://devfeed.tech/tags/twitch.md>)

### AI overview

This article explains how Twitch's Identity team addressed authentication scalability and performance. It describes reducing login-form latency through prefetching and lazy loading, and reducing downstream validation workload by exchanging OAuth 2.0 access tokens for short-lived JWTs containing user information, scopes, and a digital signature.

### Source excerpt

Curious how Twitch Identity services addresses scalability and performance challenges related to authentication? Last Tuesday, the Twitch Identity team -- which helps Twitch users create and manage their digital identity and owns the services that provide authentication, authorization, and user metadata management -- hosted a Meetup.com event to explain just that. But we're recapping here just for you! First challenge: Login form load The goal of authentication is to verify who the user is. In a typical login flow, the user supplies a password along with a username and the service validates the credentials. Login user interface The Twitch Login form used to load very slowly, as long as 10 seconds in some Asian and Pacific countries. The browser had to make a DNS request for the authentication backend, initiate a TLS connection to authentication service, make a request to load the page, and then make additional requests for more assets. Altogether, there were five round trips and over 150 KB of data transfer. To improve load latency, the team considered a few options: prefetching, connection reuse, inlining, and lazy loading. Ultimately, the solution relies mostly on prefetching by making the login modal part of the main page, but it employs lazy load for fetching heavy assets. As a result, the median load latency dropped as much as 20x from 4.1 sec to 0.2 sec. Second challenge: User session validation At the end of the login flow, the browser obtains a long-lived OAuth 2.0 access token and stores it in a cookie. This token is required for subsequent requests to the Twitch API and the corresponding downstream services. If each service had to validate the OAuth token directly against the token dispensary, the latter would need to handle calls from multiple services for every API request. To reduce the workload, the Identity team implemented an approach that employs self-contained JSON Web Tokens (JWT). Login and request flow In this approach, before forwarding the reque

## Learn Angular Router for Real-World Applications

DevFeed: [Learn Angular Router for Real-World Applications](<https://devfeed.tech/articles/learn-angular-router-for-real-world-applications-21337.md>)

Original publisher: [Read original article](<https://juri.dev/blog/2018/12/egghead-learn-router-real-world-apps/>)

Published: 2018-12-05T00:00:00Z

Content type: tutorial

Language: en

Sources: [Juri Strumpflohner](<https://devfeed.tech/sources/juri-strumpflohner.md>)

Topics: [Angular](<https://devfeed.tech/topics/angular.md>), [Routing (disambiguation)](<https://devfeed.tech/topics/routing.md>), [App](<https://devfeed.tech/topics/app.md>)

Tags: [angular](<https://devfeed.tech/tags/angular.md>), [guards](<https://devfeed.tech/tags/guards.md>), [lazy-loading](<https://devfeed.tech/tags/lazy-loading.md>), [performance-tuning](<https://devfeed.tech/tags/performance-tuning.md>), [router](<https://devfeed.tech/tags/router.md>), [rxjs](<https://devfeed.tech/tags/rxjs.md>), [video](<https://devfeed.tech/tags/video.md>)

### AI overview

An announcement for a two-part Egghead video course that teaches the Angular router, beginning with an approximately 60-minute introduction. The course covers routing concepts, route configuration, child routes, routing modules, URL segments, RxJS Observables, route guards, and lazy loading.

### Source excerpt

Lorem ipsum dolor sit amet

## Lazy Loading with the Element API & VueJS

DevFeed: [Lazy Loading with the Element API & VueJS](<https://devfeed.tech/articles/lazy-loading-with-the-element-api-vuejs-31276.md>)

Original publisher: [Read original article](<https://nystudio107.com/blog/lazy-loading-with-the-element-api-vuejs>)

Author: andrew@nystudio107.com (Andrew Welch)

Published: 2016-12-17T17:45:00Z

Content type: tutorial

Language: en

Sources: [nystudio107 | Articles on modern web development.](<https://devfeed.tech/sources/nystudio107-articles-on-modern-web-development.md>)

Topics: [lazy loading](<https://devfeed.tech/topics/lazy-loading.md>), [Content Management System](<https://devfeed.tech/topics/cms.md>), [vuejs](<https://devfeed.tech/topics/vuejs.md>), [API](<https://devfeed.tech/topics/api.md>), [Front end](<https://devfeed.tech/topics/frontend.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [cms](<https://devfeed.tech/tags/cms.md>), [cms-s](<https://devfeed.tech/tags/cms-s.md>), [content](<https://devfeed.tech/tags/content.md>), [craft](<https://devfeed.tech/tags/craft.md>), [display](<https://devfeed.tech/tags/display.md>), [element](<https://devfeed.tech/tags/element.md>), [frontend](<https://devfeed.tech/tags/frontend.md>), [here-s](<https://devfeed.tech/tags/here-s.md>), [insights](<https://devfeed.tech/tags/insights.md>), [lazy](<https://devfeed.tech/tags/lazy.md>), [lazy-loading](<https://devfeed.tech/tags/lazy-loading.md>), [load](<https://devfeed.tech/tags/load.md>), [vuejs](<https://devfeed.tech/tags/vuejs.md>)

### AI overview

A tutorial on using Craft CMS's Element API with VueJS to lazy-load additional blog entries and display them on a frontend. It explains how to create an API endpoint that returns paginated blog content, including titles, URLs, summaries, images, categories, and tags.

### Source excerpt

Here's how to use Craft CMS's Element API to lazy load content and display it via VueJS on the frontend

## Lazy Angular Modules

DevFeed: [Lazy Angular Modules](<https://devfeed.tech/articles/lazy-angular-modules-21219.md>)

Original publisher: [Read original article](<https://juri.dev/blog/2014/07/lazy-angular-modules/>)

Published: 2014-07-20T00:00:00Z

Content type: tutorial

Language: en

Sources: [Juri Strumpflohner](<https://devfeed.tech/sources/juri-strumpflohner.md>)

Topics: [Angular](<https://devfeed.tech/topics/angular.md>), [modules](<https://devfeed.tech/topics/modules.md>), [Single-page application (SPA)](<https://devfeed.tech/topics/spa.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [mvc](<https://devfeed.tech/topics/mvc.md>)

Tags: [angular](<https://devfeed.tech/tags/angular.md>), [guide](<https://devfeed.tech/tags/guide.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [lazy-loading](<https://devfeed.tech/tags/lazy-loading.md>), [modularization](<https://devfeed.tech/tags/modularization.md>), [modules](<https://devfeed.tech/tags/modules.md>), [mvc](<https://devfeed.tech/tags/mvc.md>)

### AI overview

This article examines lazy loading approaches for Angular modules and argues for organizing Angular applications by feature rather than by MVC folders. It discusses startup performance, modularization, maintainability, and examples from the Angular community.

### Source excerpt

Lorem ipsum dolor sit amet

## Boot your ajax app: Creating a splash screen with NProgress

DevFeed: [Boot your ajax app: Creating a splash screen with NProgress](<https://devfeed.tech/articles/boot-your-ajax-app-creating-a-splash-screen-with-nprogress-21208.md>)

Original publisher: [Read original article](<https://juri.dev/blog/2013/12/nprogress-splash-screen/>)

Published: 2013-12-05T00:00:00Z

Content type: tutorial

Language: en

Sources: [Juri Strumpflohner](<https://devfeed.tech/sources/juri-strumpflohner.md>)

Topics: [Single-page application (SPA)](<https://devfeed.tech/topics/spa.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Ajax](<https://devfeed.tech/topics/ajax.md>), [Document Object Model (DOM)](<https://devfeed.tech/topics/dom.md>), [Caching](<https://devfeed.tech/topics/caching.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>)

Tags: [app](<https://devfeed.tech/tags/app.md>), [caching](<https://devfeed.tech/tags/caching.md>), [code-splitting](<https://devfeed.tech/tags/code-splitting.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [lazy-loading](<https://devfeed.tech/tags/lazy-loading.md>), [screen](<https://devfeed.tech/tags/screen.md>), [splash-screen](<https://devfeed.tech/tags/splash-screen.md>), [user-experience](<https://devfeed.tech/tags/user-experience.md>)

### AI overview

This tutorial explains how to use a splash screen and NProgress while a single-page JavaScript application starts. It describes hiding the app container, showing a progress indicator, loading JavaScript, templates, and backend data, and revealing the application when loading is complete. It also cautions that optimizing startup with code splitting, lazy loading, caching, or server-side rendering is preferable to relying on progress bars.

### Source excerpt

Lorem ipsum dolor sit amet

## WPF Explorer TreeView with SelectedPath binding

DevFeed: [WPF Explorer TreeView with SelectedPath binding](<https://devfeed.tech/articles/wpf-explorer-treeview-with-selectedpath-binding-38404.md>)

Original publisher: [Read original article](<https://khmylov.com/2010/11/wpf-explorer-treeview-with-selectedpath-binding/>)

Author: Andrew Khmylov

Published: 2010-11-18T00:00:00Z

Content type: tutorial

Language: en

Sources: [Despite the odds](<https://devfeed.tech/sources/despite-the-odds.md>)

Topics: [WPF](<https://devfeed.tech/topics/wpf.md>), [Filesystems](<https://devfeed.tech/topics/filesystems.md>), [lazy loading](<https://devfeed.tech/topics/lazy-loading.md>)

Tags: [build](<https://devfeed.tech/tags/build.md>), [file](<https://devfeed.tech/tags/file.md>), [lazy-loading](<https://devfeed.tech/tags/lazy-loading.md>)

### AI overview

This tutorial describes a custom WPF TreeView control for browsing file systems and exposing a SelectedPath property for two-way binding. It uses lazy loading to populate drives and subfolders, and synchronizes the TreeView selection with the selected path.

### Source excerpt

While working on one of my projects, I had to implement a control for displaying file system. I found pretty good articles over the web ("A Simple WPF Explorer Tree" by Sacha Barber and some replies to it), but they were all about displaying folders. It was pretty easy to track currently selected folder, but there were some issues with its dynamic changes. So I decided to build my own control from scratch that will have some property like SelectedPath that will allow you to use TwoWay bindings to get and set selected folder at the tree. When user selects a node from the TreeView, text in the address bar is updated. When user enters address and clicks Update, TreeView selection gets updated. I have started with a simple CustomControl and inherited it from WPF TreeView: public class ExplorerTreeView: TreeView { public const string SelectedPathPropertyName = "SelectedPath"; public static readonly DependencyProperty SelectedPathProperty = DependencyProperty.Register( SelectedPathPropertyName, typeof (String), typeof (ExplorerTreeView)); public String SelectedPath { get { return (String) GetValue(SelectedPathProperty); } set { SetValue(SelectedPathProperty, value); } } } We will use some lazy-loading techniques to fill our TreeView with data. When control is loaded, it will display only drives on the user machine. Let's write a method for creating initial drive nodes: public void InitExplorer() { Items.Clear(); foreach (var drive in DriveInfo.GetDrives()) { Items.Add(GenerateDriveNode(drive)); } } private static TreeViewItem GenerateDriveNode(DriveInfo drive) { var item = new TreeViewItem { Tag = drive, Header = drive.ToString() }; item.Items.Add("*"); return item; } GenerateDriveNode method takes DriveInfo argument and builds TreeViewItem for it. Note that we are adding a dummy child node (the one with 'the star' header text). If we don't do this, then the user will not see a small button for expanding/collapsing for generated tree view item (it may look like '+' charac