Set a Cache Key?

How can I use a cache key for multiple pages of my website? “key” is not working. The documentation also does not provide any further parameters for “createInfiniteHitsSessionStorageCache”.

currentPagePath = window.location.pathname;

    const sessionStorageCache = instantsearch.createInfiniteHitsSessionStorageCache({
  key: 'infiniteHitsCache:'+currentPagePath,
});

 $infi=hitList1({
    hitsPerPage: 24,
     cache: sessionStorageCache,
    loadMore: 'mehr Laden',
...
})

Google Chrome does not use any special keys to store the “hits” data.