Remove old resources. Add in app cache.