made the app cache working