Confusion about SPA and template engine

it"s not issue, for egg. It"s about separating the front and rear ends with SPA or using template engines for back-end rendering .

Front-end projects are becoming more and more complex, and SPA is very good for development efficiency and suitable for large-scale projects.
node template engine renders part fixed content, which can reduce unnecessary ajax, feeling suitable for personal projects.

the mixture of the two is reminiscent of the troubles of php and jsp. There are two kinds of template tags in the code, and the front-end development and build is very painful. At present, what I am doing is to put the two completely opposite:

pages are relatively simple (do not need ng, do not need to be built), such as static display sites and use backend rendering; pages are complex (pages need modularization and various construction optimizations), such as background management system, which does not need backend rendering and is purely implemented according to the separation of front and rear ends.

I don"t know how to optimize development efficiency and online performance for complex pages in . Are there any best practices ? In addition, doesn"t know if isomorphism can help ?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b34a52-2bf39.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b34a52-2bf39.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?