Do the site filtering only once at the beginning