Open thrownness opened 4 years ago
Using https://gun.eco/docs/Forget
Instead of posting this: gun.get('readthis.space#').get(articleHash).put(authorPubKey)
gun.get('readthis.space#').get(articleHash).put(authorPubKey)
We post this: gun.get('readthis.space#<?86400').get(articleHash).put(authorPubKey)
gun.get('readthis.space#<?86400').get(articleHash).put(authorPubKey)
And the article index then gets removed. Article still lives on user namespace, but the link will no longer work.
Is this needed now that Authors can easily just delete their articles? This expiration feature would merely have the improvement of eventually pruning the index so it doesn't become absurdly massive.
Using https://gun.eco/docs/Forget
Instead of posting this:
gun.get('readthis.space#').get(articleHash).put(authorPubKey)
We post this:
gun.get('readthis.space#<?86400').get(articleHash).put(authorPubKey)
And the article index then gets removed. Article still lives on user namespace, but the link will no longer work.