Only disable view cache in non-prod environment.