Keir Starmer, the Director of Public Prosecutions, said too many investigations into comments on networks such as Twitter would have a "chilling effect" on free speech. He issued his warning as he signalled that anyone who posted an offensive message but then quickly removed it could escape prosecution.