Disable app_cache by default

Use the APPCACHE enviroment variable to turn on app cache in production.