Commit graph

18 commits

Author SHA1 Message Date
870920f83f Delete test directory 2020-12-15 14:50:02 +01:00
1e762a65ea Removed caching of subdirectories
Subdirectories with the exception of /assets/ will not get cached by the Service Worker. A normal network fetch() will be executed.

Added scope to Service Worker register.

Added "fetchContent()" which performs a normal network fetch() and follows redirects.
2020-12-15 14:46:41 +01:00
Victor Westerlund
4a181e15e9
Closes #7 (#9)
* dev-12140843

* dev-12140844

* Update sw.js

* Update not_found.html

* Update sw.js
2020-12-14 09:00:04 +01:00
c6e4eab25f Removed joining "/" between origin and cache root 2020-12-14 08:18:30 +01:00
a81fc8f212 Corrected SW root path
Corrected path for production.

Removed "offline.txt" from cache.
2020-12-14 08:11:26 +01:00
a2f002dcad Added Service Worker for offline caching
Removed Google Analytics script.
2020-12-14 08:01:37 +01:00
a4eae3ec05 Merge branch 'master' into feature/sw 2020-12-14 07:34:29 +01:00
ea119b44eb Replaced GA tracking script with GTM 2020-12-11 12:58:46 +01:00
988ee48500 Added GA tracking script 2020-12-11 12:46:31 +01:00
9a2e937f1b Update sw.js 2020-12-09 08:08:54 +01:00
e8dd97a291 Added pattern.gif "redirect" with SW
Added placeholder 'pattern.php' script.

SW:
Added uniform version control.
'handleRequest()' is now 'fetchContent()' and automatically saves response to 'bucket' Cahce Storage (removed between SW versions)

Added uniform same-origin check with 'const origin'.

Fixed issue where "cache lookup -> fetch fallback" wouldn't actually load content from cache.
2020-12-07 07:27:40 +01:00
e30593f849 dev12060537 - ServiceWorker basic boilerplate
Added a boilerplate for a offline-first sw.

Need to add support for non-standard same-origin assets
2020-12-06 05:38:36 +01:00
3a43d9d773 Added link to PGP Key
Added download link to PGP Key on GCS.

Added EOD line breaks.
2020-12-05 03:26:50 +01:00
26ec726238 0.2.0 Pre-Release
Added intro text and replaced "Programming languages" with an email address instead. I feel that "exposing" my languges as some sort of trophy is a bit bold.

Got rid of the contact page "nav" for now. Altough the only thing I want to add besides e-mail is a PGP-key; I might go about it another way.

More love should be put into the responsivness of this page, especially the "not_found.html" style.

Not to mention Service Workers..
2020-11-30 07:14:18 +01:00
83223d66a8 1.0.0-dev11292157
Added NGINX server.conf and 404/403 error pages.

Changed default logo size to use 'em' units instead of 'vw'
2020-11-29 21:59:57 +01:00
a845af4b3f 1.0.0_dev-11260212 2020-11-26 02:12:33 +01:00
a81f518c0f Draft
Landingpage
2020-11-20 12:47:36 +01:00
c34db81cd5 Draft 2020-11-17 16:30:32 +01:00