[caching] handle VARIABLE_HINT_SIZE incompat flag