diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/XList.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/XList.php index 979c6f7341..9db6945a97 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/XList.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/XList.php @@ -195,10 +195,7 @@ class XList extends Action $total = 0; } - $response - ->addHeader('X-Appwrite-Cache-Documents-Total', $totalDocumentsCacheHit ? 'hit' : 'miss') - ->addHeader('X-Appwrite-Cache-Documents', $documentsCacheHit ? 'hit' : 'miss') - ->addHeader('X-Appwrite-Cache-Documents-Ttl', $ttl); + $response->addHeader('X-Appwrite-Cache', $documentsCacheHit ? 'hit' : 'miss') } else { // has selects, allow relationship on documents