Bài viết
Chia sẻ kiến thức của bạn.
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
Câu trả lời
1The 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.
Bạn có biết câu trả lời không?
Hãy đăng nhập và chia sẻ nó.
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.
Kiếm phần của bạn từ 1000 Sui
Tích lũy điểm danh tiếng và nhận phần thưởng khi giúp cộng đồng Sui phát triển.