Skip to content

ServiceWorker usage and classic "Instagram style" updates #12

@g105b

Description

@g105b

All of the links that are followed are requested every time the user clicks them. That's fine - no funny library nonsense introducing all the bugs you see with SPAs.

If Flux introduced a ServiceWorker that could cache all links, and spider the application to pre-cache links, then every click would be instant - but we could mark particular elements as needing to show the live information using data-flux="refresh" or something similar. This is the classic Instagram-style updates, where the old (good) instagram app used to display the page instantly, but then update the likes/followers behind the scenes while refreshing the latest cache.

This will be the best final feature to add some real polish to Flux.

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