Flow-based antivirus buffers the entire file while simultaneously transmitting data to the client to minimize latency. Flow-based inspection combines multiple scanning techniques from proxy-based modes for efficient detection. Flow-based inspection provides better performance by processing traffic on the fly without full proxy overhead.