Commit graph

36 commits

Author SHA1 Message Date
922262daf3 WOMM fix #1 2020-12-21 08:52:31 +01:00
775179ddf8 Added Cyberpunk 2077 inspired cursor to error page 2020-12-21 08:45:58 +01:00
de4fbcfdaf Added Cyberpunk 2077 inspired 404-page 2020-12-21 08:28:02 +01:00
870920f83f Delete test directory 2020-12-15 14:50:02 +01:00
Victor Westerlund
04aeb9f393
Merge pull request #10 from VictorWesterlund/feature/sw
Removed caching of subdirectories
2020-12-15 14:47:50 +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
Victor Westerlund
a9d7083e23
Merge pull request #6 from VictorWesterlund/feature/sw
Service Worker & Offline Caching
2020-12-14 08:06:49 +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
Victor Westerlund
cd184f5b49
Merge pull request #5 from VictorWesterlund/feature/ga
Added GA Tracking
2020-12-11 13:14:50 +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
a87045cca3 Merge branch 'master' of https://github.com/VictorWesterlund/victorwesterlund.com 2020-11-30 07:50:20 +01:00
3bf5e3ce73 Update server.conf
Made a "try_files"-less conf of the FastCGI snippet for NGINX.

This new conf looks for a router.php as the FastCGI index, and also allows for location block try_files
2020-11-30 07:50:00 +01:00
Victor Westerlund
757ddfd4f6
Update README.md 2020-11-30 07:34:23 +01:00
Victor Westerlund
96ed8d34dc
Merge pull request #3 from VictorWesterlund/develop
alpha-11300724 Pre-release
2020-11-30 07:28:47 +01:00
Victor Westerlund
b3706804ca
Merge branch 'master' into develop 2020-11-30 07:28:34 +01:00
9fda2e2e36 Added dummy file to "api/" and made it canonial in server.conf
Added "router.php" which will function as a proxy for all api requests
2020-11-30 07:21:38 +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
953b647d25 Updated canonical name
https://www.victorwesterlund.com
.. changed to ..
https://victorwesterlund.com
2020-11-29 01:24:18 +01:00
919f0fa13b Added "api" server and HTTP/2 listeners
Added servers for "api.victorwesterlund.com" along with an HTTP/2 listener for both 'api' and 'www'.

Added ".well-known/" to gitignore
2020-11-28 18:37:48 +01:00
ed5bda63b0 Added new repo to NGINX config
Replaced folder root with GitHub-cloned repo
2020-11-28 17:30:09 +01:00
Victor Westerlund
4957cf1f75
Merge pull request #2 from VictorWesterlund/0.1.0
0.1.0_dev-11260308
2020-11-28 16:01:51 +01:00
c5f103a129 0.1.0_dev-11260308 2020-11-26 03:08:13 +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
Victor Westerlund
97de527e46
Initial commit 2020-11-17 15:20:10 +01:00