optimise linked pages