UIImage-PDF
UIImage-PDF copied to clipboard
Cache key
Hi Nigel,
I think there is a error in the cacheFilenameForURL:atSize:atScaleFactor:atPage: method. It bases the cacheRoot on [ filePath lastPathComponent ], at that is not enough when different PDF's have the same lastPathComponent. I changed it to [ resourceURL description ] and now the full URL is considered in determining the MD5 key. And no more wrong cache hits here...
Regards, Joris
Hi Joris. Thanks for that observation. I shall update...