[Sync xFace3.1 core]Clear the resource cache when app was updated or uninstalled