What about only writing JavaScript when it is actually required, instead of SPAs for any kind of content?
There will be almost no bloat to worry about.