The cache is never null, because it defaults to undefined, and therefore this function always returns undefined. Signed-off-by: Philip Molares <philip.molares@udo.edu>