GithubHelp home page GithubHelp logo

wellstang / sw-test Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mdn/sw-test

0.0 2.0 0.0 740 KB

Service Worker test repository. This is a very simple demo to show basic service worker features in action.

License: Creative Commons Zero v1.0 Universal

JavaScript 80.45% HTML 9.77% CSS 9.79%

sw-test's Introduction

sw-test

Service Worker test repository. This is a very simple demo to show basic service worker features in action. The demo can be seen on our GitHub pages.

You can find a lot more out about how this works by reading Using Service Workers. In particular, read Why is my service worker failing to register? if you are having problems getting your code to do anything. You need to change the paths relative to where you are serving your files from!

Set up

To start server for this project, you can use a lightweight tool: https://chrome.google.com/webstore/detail/web-server-for-chrome/ofhbbkphhbklhfoeikjpcbhemlocgigb

Or if you have python on your machine, you can just do as follow:

  1. cd to project
  2. run commands below:

python 2

python -m SimpleHTTPServer 8001

python 3

python3 -m http.server 8001

then you just open: http://127.0.0.1:8001/index.html

sw-test's People

Contributors

anovsiradj avatar chrisdavidmills avatar cvan avatar darker avatar davidnguyen11 avatar jeromeetienne avatar jrburke avatar juliandescottes avatar kenju avatar mrxcray avatar qgustavor avatar wanderview avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.