ensure new cache still returns data immediately

Also trialling coffee script because it looks fun.