Cache prepared documents and remove ignore words