ERCs icon indicating copy to clipboard operation
ERCs copied to clipboard

Add ERC: Cache invalidation in ERC-5219 mode Web3 URL

Open nand2 opened this issue 1 year ago • 2 comments

Abstract

In the context of the ERC-6860 web3:// standard, this ERC extends the ERC-6944 resolve mode: This standard add mechanisms to alleviate limitations to the use of standard RFC 9111 HTTP caching.

nand2 avatar Sep 23 '24 08:09 nand2

✅ All reviewers have approved.

eip-review-bot avatar Sep 23 '24 08:09 eip-review-bot

Hi!

Thanks for the initial review! I am now refining the ERC and I am implementing in on web3protocol-go -- sometimes implementation helps to track some conceptual bugs.

nand2 avatar Oct 03 '24 06:10 nand2

@SamWilsn Also thanks again for the review; for taking the time to read this whole thing and make comments! :-)

Now thinking about the signaling discussed just before.

nand2 avatar Nov 14 '24 11:11 nand2

Ok got the rough idea : a /.well-known/ URL that expose the currently processed blocks of blockchains. The client can then poll this URL and wait until the user TX block was processed in the web3:// client before redirecting. That way he can ensure the user will see the new version. The web3:// client MAY use the fetching of this /.well-known/ URL as a signal to speed up the processing of new blocks.

I'll add that shortly.

nand2 avatar Nov 16 '24 09:11 nand2