keeping stringwriters cache local