file: add support for disabling cache related precondition checks via handlers