You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: