IPFS.

Publicación

Comparte tu conocimiento.

IPFS moderator.
Mar 22, 2024
P&R expertos

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
Cuota
Comentarios
.

Respuestas

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
Respuesta Oficial
Comentarios
.

Sabes la respuesta?

Inicie sesión y compártalo.

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.

95Publicaciones95Respuestas
Sui.X.Peera.

Gana tu parte de 1000 Sui

Gana puntos de reputación y obtén recompensas por ayudar a crecer a la comunidad de Sui.