Bad:
app.get '/', (...) ->
# This happens async, so page.render() is called at the same time. The server
# will generate a page with the outdated data, send to the client, which
# will generate a page with the updated data. Their checksums are different
model.set "this", "that"
page.render()
Good:
app.get '/', (...) ->
# make page.render a callback instead
model.set "this", "that", ->page.render()
Note: only an issue for model writes that hit the database. Private path writes are fine: model.set '_page.title', 'My Site'