Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

coolwind0202/file_sync_ws_and_cache_api

Repository files navigation

File sync between server & client

A feature enables file sync between server and client. When add / remove assets/ directory files, the change will be notificated to client through WebSocket connection. On the client app, interpreting the notification, the main.ts logics fetch new resources and remove old caches.

warning

This implementation is incomplete. It can understand add / remove files, but not modify files. If you want to execute it correctly, you need to add a unique version hash to distributed files.

About

PoC about file sync with websocket and Cache API.

Topics

Resources

Stars

Watchers

Forks

AltStyle によって変換されたページ (->オリジナル) /