To detect malicious code more efficiently, Web Anti-Virus caches fragments of objects downloaded from the Internet. When using this method, Web Anti-Virus only scans an object after it has been completely downloaded. The object is then scanned for viruses and returned to the user for work or blocked, depending on the scan results.
Caching objects increases object processing time, and hence the time before the application returns objects to the user. Caching can cause problems when downloading or processing large objects, as the connection with the HTTP client may time out.
To solve this problem, we suggest limiting the caching time for the object fragments downloaded from the Internet. When a specified period of time expires, the user will receive the downloaded part of the object without scanning, and once the object is fully copied, it will be scanned in full. This allows reducing the time needed to transfer the object to the user and eliminating the disconnection problem. The Internet security level will not be reduced in that case.
Removing the limit of caching time results in improved efficiency of anti-virus scan though causing a slight slowdown of access to the object.
To set a time limit for fragment buffering or remove it: