factor out cache policy
not found
tidy
send response
send and log response and tidying