Enable cache and remove ABSPATH check since it gets set before this.