Print messages to the Debug window indicating whether the result was cached or retrieved from the database