Setting maxBytes = 0 does not work
Closed this issue · 2 comments
Deleted user commented
In our project, we don't want a disk cache so we set [TIPGlobalConfiguration sharedInstance].maxBytesForAllDiskCaches = 0. However, that doesn't seem to be working. I DM'd with @NSProgrammer and he confirmed there are some places where 0 == off and others where 0 == unlimited (ex:
).NSProgrammer commented
This is a legit issue and I can repro. Will work on a fix.
In the meantime, the workaround is to set the max bytes to be 1
byte.
NSProgrammer commented
Resolved with merge #42