Enable app cache only, if environment is not 'dev'