Skip to content

Only send/receive minimum data when polling #131

Description

@PVince81

Imagine a scenario where someone has 10+ notifications. We poll every 30 seconds so every 30 seconds the whole 10 notifications will be returned, wasting bandwidth.

As long as we have polling we should at least switch to a more efficient way:

  • client must send etag when requesting notifications
  • server checks etag against new etag:
    • if same, return 304 not modified
    • if different, return the new contents

All clients should also be adjusted for that.

@DeepDiver1975 @butonic @michaelstingl

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions