Should I render this template using JavaScript or the server?

后端 未结 4 1490
感情败类
感情败类 2020-12-28 09:29

I\'m rendering a news feed.

I\'m planning to use Backbone.js for my javascript stuff because I\'m sick of doing manual DOM binds with JQuery.

So right now I

4条回答
  •  被撕碎了的回忆
    2020-12-28 09:51

    I don't know backbone, but here's a simple thought: if at all possible and secure, do everything on the client instead of the server. That way the server has less work to do and can therefore handle more connections and scale better.

提交回复
热议问题