Set `cache_lifetime` on the View while rendering