diff --git a/Sources/SPTPersistentCache.m b/Sources/SPTPersistentCache.m index 9aa9956..779da76 100644 --- a/Sources/SPTPersistentCache.m +++ b/Sources/SPTPersistentCache.m @@ -1048,7 +1048,8 @@ - (NSMutableArray *)storedImageNamesAndAttributes NSNumber *fsize = [NSNumber numberWithLongLong:fileStat.st_size]; NSDictionary *values = @{NSFileModificationDate : mdate, NSFileSize: fsize}; - [images addObject:@{ SPTDataCacheFileNameKey : [NSString stringWithUTF8String:[theURL fileSystemRepresentation]], + NSString *cacheFilename = [NSString stringWithUTF8String:[theURL fileSystemRepresentation]]; + [images addObject:@{ SPTDataCacheFileNameKey : cacheFilename, SPTDataCacheFileAttributesKey : values }]; } } else {