[fix] don't return true if both cache properties are undefined
[bump] version 0.2.2