Prevent unnecessary disk I/O on bad HTTP paths