echo message when using cache