@@ -6006,8 +6006,8 @@ public function purgeCachedCollection(string $collectionId): bool
60066006
60076007 $ this ->cache ->purge ($ collectionKey );
60086008
6009- // Increment collection version for O(1) find cache invalidation
6010- $ this ->incrementCollectionVersion ($ collectionId );
6009+ // Temporarily disabled: Increment collection version for O(1) find cache invalidation
6010+ // $this->incrementCollectionVersion($collectionId);
60116011
60126012 return true ;
60136013 }
@@ -6028,9 +6028,9 @@ public function purgeCachedDocument(string $collectionId, string $id): bool
60286028 $ this ->cache ->purge ($ collectionKey , $ documentKey );
60296029 $ this ->cache ->purge ($ documentKey );
60306030
6031- // Increment collection version for aggressive find cache invalidation
6031+ // Temporarily disabled: Increment collection version for aggressive find cache invalidation
60326032 // This ensures that any cached find results become invalid when any document changes
6033- $ this ->incrementCollectionVersion ($ collectionId );
6033+ // $this->incrementCollectionVersion($collectionId);
60346034
60356035 $ this ->trigger (self ::EVENT_DOCUMENT_PURGE , new Document ([
60366036 '$id ' => $ id ,
@@ -6140,8 +6140,8 @@ public function find(string $collection, array $queries = [], string $forPermiss
61406140 $ selections = $ this ->validateSelections ($ collection , $ selects );
61416141 $ nestedSelections = $ this ->processRelationshipQueries ($ relationships , $ queries );
61426142
6143- // Only use caching for normal collections, not metadata or during silent operations
6144- $ useCache = $ collection ->getId () !== self ::METADATA && $ this ->silentListeners !== null ;
6143+ // Temporarily disable caching to isolate test issues
6144+ $ useCache = false ; // $collection->getId() !== self::METADATA && $this->silentListeners !== null;
61456145 $ cached = null ;
61466146 $ versionedCacheKey = null ;
61476147
0 commit comments