IPFS.

Beitrag

Teile dein Wissen.

IPFS moderator.
Mar 22, 2024
Experten Q&A

How to Disable IPNS Cache for IPFS Gateway?

I have discovered that setting AcceleratedDHT: true leads to stale IPNS entries when using gateway operations. Non-acceleratedDHT nodes receive IPNS record updates within 5 minutes compared to the 1-hour table rebuild timer. Are there any workarounds or methods to disable the IPNS cache to address this issue?

  • IPFS
  • IPNS
0
1
Teilen
Kommentare
.

Antworten

1
IPFS moderator.
Mar 22 2024, 12:08

The explanation provided may be unclear. It is possible that there is a cache within Kubo that is outdated, but there may not be a direct method to disable it.

The AcceleratedDHTClient client does not store a record table but rather a table of peers. During each query, it identifies the 20 most suitable peers for the IPNS name and promptly connects to them, leveraging its existing peer table. Given that at least one of these 20 peers possesses the updated record, it should be able to retrieve it. Additionally, peers typically do not undergo significant movement within a one-hour timeframe.

0
Offizielle Antwort
Kommentare
.

Weißt du die Antwort?

Bitte melde dich an und teile sie.

The InterPlanetary File System (IPFS) is a protocol, hypermedia and file sharing peer-to-peer network for storing and sharing data in a distributed file system.

95Beiträge95Antworten
Sui.X.Peera.

Verdiene deinen Anteil an 1000 Sui

Sammle Reputationspunkte und erhalte Belohnungen für deine Hilfe beim Wachstum der Sui-Community.