Alter view with hook_views_post_render and save results to cache How can I alter the results of a view with hook_views_post_render but save the altered output to cache, in order to avoid the overhead of altering the results on every request?

The ideal scanario should be like this: Is the cache expired -> Yes -> alter the view's output -> Save new output in cache, Otherwise don't alter the output.
Yes Clive is right use 

function hook_views_pre_render(&amp;$view) {


instead of

function hook_views_post_execute(&amp;$view) {