optimise brokenlinks by gathering the data when calculating backlinks