Fix appCache settings when productionMode is enabled (#14586)

Change-Id: Ie9f3580caba7487494df1b08e1b4d7bf7d37bdee