avast! is only populating persistant cache with whitelisted files that don't change too often (mostly system files). All the others are used in transient cache. They are scanned and then cached until new VPS update or if the file is changed. Persistant cached files are only scanned if they are modified. It's working this way to ensure max performance without compromising any security.