Clean up cache directives.