PHP vs Node.js - Is HTML Rendering slower in Node.js with Jade?

前端 未结 4 612
感动是毒
感动是毒 2021-02-06 01:23

Assuming that we have millions of requests per day. Is the HTML processing in Node.js with Jade slower or faster than PHP\'s render engine? Or doesn\'t matter because th

4条回答
  •  被撕碎了的回忆
    2021-02-06 01:38

    Jade templates are memory cached, so the second request will be almost immediate. If you are concerned about templating speed with jade, you can use self option.

提交回复
热议问题