ng-include improves site performance?

Asked

Viewed 31 times

1

Good afternoon

I wonder if I separate html into parts and use ng-include to add them to the index, improve the performance of the site? making it faster

Grateful from now on !!

  • I believe that it is very relative, almost impossible to say, it depends a lot on the application, what it will contain, if there is a very big performance problem, probably for another reason, patches will not agree if the origin of this is elsewhere.

  • 2

    Helps in maintainability but loses in performance, after all ng-include will require HTML, nothing so severe but it is an extra request, has other options like SPA, requires only what was requested, but loses in initial build.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.