Skip to content

Outbox Optimization: Deduplication and Display of Latest Object State #2309

@Jiwoon-Kim

Description

@Jiwoon-Kim

I might not fully understand how the outbox and inbox mechanisms work, but if the inbox simply replaces the entire object instead of performing partial updates, wouldn’t it be sufficient for the outbox to only retain Update activities rather than both Create and Update?


Bloated Outbox: The Outbox contains redundant history, increasing the payload size and the number of items clients need to process.

Since WordPress already has a built-in revision system, I believe implementing Partial Updates would be relatively easy.

However, one thing I found curious is that when inspecting the outbox, I noticed both Create and Update activities being published.
Is this really necessary?
It feels somewhat like exposing the internal revision history rather than just reflecting the current state of the object.

Originally posted by @Jiwoon-Kim in #2308 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions