Batch cache general enable/disable

Given that we are keeping the cache flag inside the batch structure, I renamed the functions to make them less wq specific.