NXP-11399 Optimize when the same file is stored several times
NXP-11399 be sure cache can not contain entries that were removed from S3