Echo JS 0.11.0

<~>
tomekmarchi 3291 days ago. link 1 point
Server side rendering... What happens to jsblocks when it's faster to just render client-side in ALL cases? In some cases client-side rendering is already much faster. Under heavy server/network loads client-side is a more efficient & faster method.

Replies

sylvainpv 3290 days ago. link 3 points
If the majority of incoming requests are not first-time visitors, then client-side templating is faster in most cases because they can benefit from all the client-side cache mechanisms. I was really impressed by the results of Offline-first approach applied to one of my professional projects.
astoilkov 3290 days ago. link 2 points
Yes. You are correct. Sometimes client-side is better. However, currently http://jsblocks.com is under heavy load and is build using the jsblocks server-side rendering. The server-side rendering have caching enabled. I will introduce caching property that will update only the things like request to services which will help a lot.

You could take a look at the advantages here:
http://jsblocks.com/learn/introduction-why-jsblocks#server-side-rendering

Note: I have load tested http://jsblocks.com and it behavios extremely well.