3 ms·
> You then expose the static versions, either directly or via some trivial app. Most ActivityPub objects are already static and immutable, the sooner fediverse
by mariusor 4y ago
> You then expose the static versions, either directly or via some trivial app.
Most ActivityPub objects are already static and immutable, the sooner fediverse developers realize this and simplify the code paths between reading a URL and returning the static and immutable object that has that URL as an ID, the better the ecosystem will be.
It's sad that everyone insists in wrapping costly database accesses and logic on top of what should be very, very simple logic.
- rakoo 4y agoActivities are immutable but objects are not. Mutability allows posts to be edited, for instance. The ids in ActivityPub also aren't URLs, they're random strings. EDIT: They actually are URLs, my mistake
- danpalmer 4y agoAre you sure? From the spec, object IDs must be: > Publicly dereferencable URIs, such as HTTPS URIs, with their authority belonging to that of their originating server (or they can be null in some cases)