πŸ”— Reconstructing Payloads With Lua

Wouldn't it be awesome to construct fully prepared API responses directly from the server? Doing so means fewer commands to execute, fewer I/O operations, less bytes transfered, fewer objects allocated and less work done on the client. Let's see how it can be done.

🌎 http://sorentwo.com/2015/08/17/reconstructing-payloads-with-lua.html