/web-workers-and-the-cache-api-article

Souce code for the article "Chega de esperar: Web Workers e a Cache API"

Primary LanguageHTML

Web Workers & The Cache API

This is the companion source code for the examples I used on the article "Chega de esperar: Web Workers e a Cache API" posted at Pricefy Labs on Medium.

Let's see those web workers and the Cache API at work. Shall we?

Hands on

After git checkout this repository...

TLS/SSL

You'll need a certificate to spin the server, so:

$ mkdir ./_ssl
$ cd ./_ssl
$ openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -keyout key.pem -out cert.pem

Running

$ http-server ./src/ --ssl --cert ./_ssl/cert.pem --key ./_ssl/key.pem

Go ahead and open the aplication on your prefered Chrome browser.

What's next?

Well, don't miss Pricefy Labs on Medium.