Cache: Make var volatile, otherwise Mac complains