Refactor #10025 Cache documents with $_GET (optional)