check for hash parameter before serving cached results