The problem what i faced was i had wrong entry in runtime.properties and was under impression that cache was working. The stats showed that everything put was getting evicted. Probably we can make default cache stats to show -1 when disabled instead?