varnish devide detect