removeCacheById(id) {
        for (let i = 0; i < this.cQueue.length; i++) {
            if (this.cQueue[i].id == id) {
                this.cQueue.splice(i, 1);
                return;
            }
        }
    }
//removes the cache with the given id from the queue 
removes the cache with the given id from the queue
removes the cache with the given id from the queue
removeCacheById(id) {
        for (let i = 0; i < this.cQueue.length; i++) {
            if (this.cQueue[i].id == id) {
                this.cQueue.splice(i, 1);
                return;
            }
        }
    }
removeCacheById ( id ) { for ( let i = 0 ; i < this . cQueue . length ; i ++ ) { if ( this . cQueue [ i ] . id == id ) { this . cQueue . splice ( i , 1 ) ; return ; } } }
removes the cache with the given id from the queue
removes the cache with the given id from the queue