fix tmpfs detect logic; fix program appear in 'switch programs'; add 'purge cache' in varnish config