You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Service workers are useful for cases where extra caching and progressive improvement are needed, such as offline and poor network connectivity situations. Right now, there's no clear way on how service workers should interact with Hilla applications and Hilla endpoints. The Vaadin Way could document opinionated best practices for working here.
Some ideas for topics:
Working with CSRF tokens in service workers
Using Google WorkBox - yes, no, sometimes?
Cache strategies
What to cache and what not to
Passing message events - what to send and what not to send
How to account for Vaadin specifics in sw.ts
message event handling order - should Vaadin's internal messages be handled first?
Communication between the Hilla app and the service workers
Constructing callbacks
Message bus -style communication patterns
Example: chat messages that are synchronized in the background and pushed to the UI
Error handling in service workers
The text was updated successfully, but these errors were encountered:
Service workers are useful for cases where extra caching and progressive improvement are needed, such as offline and poor network connectivity situations. Right now, there's no clear way on how service workers should interact with Hilla applications and Hilla endpoints. The Vaadin Way could document opinionated best practices for working here.
Some ideas for topics:
message
events - what to send and what not to sendmessage
event handling order - should Vaadin's internal messages be handled first?The text was updated successfully, but these errors were encountered: