Moving cache to memory

For your review @rxaviers @scottgonzalez