Prevent repeated code scanning during one request