You can use the hold method as follows
reply.hold(); reply.view('your-view');
or even
reply.view('your-view').hold(); reply.send();
the response is saved until the .send () method is called, therefore:
reply().header('cache-control', 'no-cache').hold(); ... reply().send();
probably what you are looking for.
source share