Upgrade to Pro — share decks privately, control downloads, hide ads and more …

DSW - Dynamic Service Workers

DSW - Dynamic Service Workers

Very configurable, powerful and yet simple Service Worker generator based on your rules, described in a json file*.

It may use JavaScript files as well.

929ed9958756c5c829a9eed068910646?s=128

Felipe Nascimento de Moura

November 14, 2016
Tweet

Transcript

  1. None
  2. None
  3. Meet DSW $ npm install -g dsw

  4. DSW - import and .setup

  5. dswfile.json

  6. DSW

  7. DSW - Not found HTML

  8. DSW - not found images

  9. DSW - caching images

  10. DSW - Redirecting

  11. DSW - Redirect with variables

  12. DSW - caching css and js

  13. DSW - Output String

  14. DSW - IndexedDB

  15. DSW - Push Notifications

  16. DSW - API

  17. DSW - Init

  18. DSW - Debug

  19. DSW - Debug

  20. Sandbox $ npm run try - Test manually - Read

    the examples - Links to the rules descriptors
  21. Unit Testing

  22. Future - Unit tests for you webapp - Extensions -

    Visual Tool for the tracing data
  23. Future - Unit tests for you webapp - Extensions -

    Visual Tool for the tracing data - Accepting suggestions :)
  24. URLs - Github: https://github.com/NascHQ/dsw - NPM: https://www.npmjs.com/package/dsw - Configuration sample:

    https://naschq.github.io/dsw/config-example.html
  25. Thank you! @felipeNmoura (github || facebook) / felipenmoura felipenmoura.com