Hello Everyone,
With this link (https://angular.io/guide/universal) I add the Server-side rendering in angular app.
When I am running it in local system it is working as expected, Using ctrl+u command I can see meta tags,title of page etc.
As I deploy the application on Google App Engine , I can't see the changes as my local machine.
Any help will be appreciated.
Thanks
@gorniv/ngx-universal
I'm trying to add Application Insights to my Angular Universall app.
Following this guide https://devblogs.microsoft.com/premier-developer/angular-how-to-add-application-insights-to-an-angular-spa/
i implemented the service and everything works as expect when running without SSR enabled
any fix will help me in solving this event issue,
server.ts file imported domino and added following global object as well,
(global as any).window = window;
(global as any).document = window.document;
(global as any).Event = window.Event;
(global as any).KeyboardEvent = window.KeyboardEvent;
(global as any).MouseEvent = window.MouseEvent;
(global as any).FocusEvent = window.FocusEvent;
(global as any).PointerEvent = window.PointerEvent;
(global as any).HTMLElement = window.HTMLElement;
(global as any).object = window.object;
(global as any).navigator = window.navigator;
(global as any).localStorage = window.localStorage;
(global as any).sessionStorage = window.sessionStorage;
(global as any).DOMTokenList = window.DOMTokenList;
Hi all! I've recently implemented Angular Universal on a single-page app, and I'm finding that the TTFB for the server-side rendering is getting as high as 8 seconds (depending on the device or connection involved). At the moment there isn't a cache set up, but is there a way I can determine how much of the TTFB would be resolved by caching, and how much is due to the actual time it takes to render the server-side content? (If it helps, the application is built on an Azure App Service)
Also, is it true that Observables cause the server-side rendering to slow down? My app has a lot of them dotted around, and if I don't need to, I'd like to avoid having to create platform-specific code branches to prevent them all from being fired (as the Universal gotchas file alludes to). Thanks!