cache version defined as a macro