v1.2 - make cache-clear hooks optional