cache pretty printing