enable cache for variable_get function