fixed cache encoding