Skip to content

Lazy Cache HTML? #13

@jpdevries

Description

@jpdevries

Been trying to get dirty art–boards as small as possible
#10
#11

One thing I'm considering adding to the service worker is storing the DOM as you make edits so that as you work

  • history and URL are updated async
  • a snapshot of the DOM is stored in service worker cache

This would take offline support one step further and also keep the total bandwidth cost down because doing a hard refresh on a new URL wouldn't mean another delivery from the server if the worker can provide it.

Might want to also cache the favicon and og image associated with the unique art.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions