Docs: Fix curl statements in query-cache.asciidoc

Closes #7989