-
-
Notifications
You must be signed in to change notification settings - Fork 33.8k
Closed
Description
Versions
Vue 2.0.1
vue-server-renderer 2.0.1
Windows 7
What is Expected?
vue-server-renderer faster.
server-render is just for rendering html string, reusing code with browser side maybe easier to maintenance, but still cause lower performance which can't be ignore, especially using it with giant number of users(qq qzone hybrid website).
What is actually happening?
Using virtual dom to render html string on server side will cost more time which is about 10-20 times than traditional template engine without using virtual dom.
Reproduction repository
I write a small js called jscHelper to convert vue virtual dom tree to normal render function for improving performance.
But the compatibility is not good.
So I hope there will be an original way to solving it.
https://github.com/jialunguo/vue-server-render-jscHelper.git
monkindey, yzhengaq, mapleeit, cycold, imbolc and 25 moresolome and roy-lau