You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Importing module NgProgressRouterModule causes ~500 ms delay while angular runs on server.
Reproduction
Steps to reproduce:
For create new project: ng new ssr-test
For add server side rendering: ng add @nguniversal/express-engine
(now you can run: npm run build:ssr and npm run serve:ssr to check initial render time, it is ~20 ms.)
Install ngx-progressbar: npm i ngx-progressbar --save
Import modules to app.module:
RouterModule.forRoot([])
NgProgressModule
NgProgressRouterModule
re run npm run build:ssr and npm run serve:ssr (now TTFB is ~500ms.)
I have no idea why it causes a delay on your end, any help on investigating the issue is appreciated! it is probably something in progress-router.service.ts
Importing module NgProgressRouterModule causes ~500 ms delay while angular runs on server.
Reproduction
Steps to reproduce:
(now you can run: npm run build:ssr and npm run serve:ssr to check initial render time, it is ~20 ms.)
Environment
The text was updated successfully, but these errors were encountered: