Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix LoadCacheImage logic so that when checking for an image in the me…
…mory cache we only perform the last modified checks if it's actually found. This prevents us checking twice for every single image. Also fix a bug where we loaded an image from the disk cache when we were only supposed to be checking whether it was in the memory cache.
- Loading branch information
Showing
2 changed files
with
36 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters