[#239] Log a warning when using non initialized cache

* This could help us identify code paths that are broken