# 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: article

Language: en

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

Topics: [app startup](<https://devfeed.tech/topics/app-startup.md>), [Cache](<https://devfeed.tech/topics/cache.md>)

Tags: [ajax](<https://devfeed.tech/tags/ajax.md>), [app](<https://devfeed.tech/tags/app.md>), [backend](<https://devfeed.tech/tags/backend.md>), [boot](<https://devfeed.tech/tags/boot.md>), [caching](<https://devfeed.tech/tags/caching.md>), [code-splitting](<https://devfeed.tech/tags/code-splitting.md>), [lazy-loading](<https://devfeed.tech/tags/lazy-loading.md>), [loading](<https://devfeed.tech/tags/loading.md>), [progress](<https://devfeed.tech/tags/progress.md>), [rendering](<https://devfeed.tech/tags/rendering.md>), [resources](<https://devfeed.tech/tags/resources.md>), [screen](<https://devfeed.tech/tags/screen.md>), [server](<https://devfeed.tech/tags/server.md>), [service-workers](<https://devfeed.tech/tags/service-workers.md>), [spa](<https://devfeed.tech/tags/spa.md>), [splash-screen](<https://devfeed.tech/tags/splash-screen.md>), [startup](<https://devfeed.tech/tags/startup.md>), [templates](<https://devfeed.tech/tags/templates.md>)

## AI overview

The excerpt recommends optimizing single-page app startup first, since progress bars can be an antipattern, but describes a splash screen as a fallback to avoid showing the app assembling in pieces. The suggested sequence is to hide the app's main DOM container, show a progress indicator while JavaScript, templates, and backend data load, then reveal the app and hide the indicator when loading finishes. It presents NProgress as an option whose bar advances indefinitely after a simple start call; loading logic can advance it faster before completion. The excerpt begins to introduce a centered splash screen as an alternative when a progress indicator seems too easy to miss, but cuts off before explaining it.

## Source excerpt

Lorem ipsum dolor sit amet