Add ERC: Cache invalidation in ERC-5219 mode Web3 URL
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.
✅ All reviewers have approved.
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.
@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.
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.