Commit Graph

21 Commits

Author SHA1 Message Date
Ming Di Leom 2f22f1dfdf
fix(assets): proxy to gitlab pages
- statically image-resizing is down
  * https://github.com/staticallyio/statically/issues/98
- may self-host https://github.com/staticallyio/image-resizing
  * requires CF Images subscription
2022-03-05 08:06:43 +00:00
Ming Di Leom 57e5c59097
build: temporary allow web crawler to netlify
- for web crawler to see X-Robots-Tag header
- https://www.bing.com/webmasters/help/?topicid=37c07477
2021-02-27 01:45:37 +00:00
Ming Di Leom e79f9c044e
build: temporary allow web crawler to netlify
- for web crawler to see X-Robots-Tag header
- https://www.bing.com/webmasters/help/?topicid=37c07477
2021-02-26 22:13:48 +00:00
MDLeom e7449110c8
fix: update Statically API endpoint
- new endpoint seems easier to cache, especially when cloudflare is configured not to cache query string
  * https://support.cloudflare.com/hc/en-us/articles/218411427#summary-of-page-rules-settings
- Statically doesn't support resizing webp & gif yet
- screenshot API also doesn't support mobile version
  * it was previously working
2021-01-12 03:32:41 +00:00
MDLeom 1f70316713
feat(redirects): /files/ reverse proxy
- reduce 3rd-party links for eepsite compatibility
2020-11-29 01:58:26 +00:00
MDLeom 713a6ef730
feat: serve third-party libs locally 2020-04-08 01:02:42 +01:00
MDLeom d4875be40d
chore: mdleom.com in site assets 2020-02-18 23:40:10 +00:00
curben ff34956550
feat: use page's screenshot as og:image
- Some microbrowser loads all "og:image" images before choosing one
- Now there is only one "og:image" tag and it's a screenshot of the page
- https://24ways.org/2019/microbrowsers-are-everywhere/
2019-12-18 02:46:39 +00:00
curben ce9ebeb1bf
fix(layout): add homepage link and remove redirect 2019-10-17 06:48:36 +01:00
curben c919e44572
feat(img): drop Cloudinary
- move site assets to gitlab
- update path name
2019-09-03 20:26:50 +01:00
curben 7bd7df521a
feat(img): reverse proxy /img/ to cdn (initial) 2019-09-03 17:24:18 +01:00
curben 6a79558512
feat(js): reverse proxy /libs/ to cdn 2019-09-03 17:21:29 +01:00
curben 63401efe64
fix: remove 301 post redirect
- conflict with proxy redirect
2019-09-03 17:08:10 +01:00
curben 6fd9f505d5
Revert "fix: move /about/ page to homepage"
Revert 2cd9094dc5 and d732bcc88b
2019-09-03 17:06:29 +01:00
curben 2cd9094dc5
fix: move /about/ page to homepage 2019-09-03 16:39:19 +01:00
curben b010379741
feat: load js from cdn using Netlify's reverse proxy
- https://www.netlify.com/docs/redirects/
2019-09-03 16:10:18 +01:00
curben 9681db0fe6 fix: append slash to redirect 2019-06-21 13:53:12 +09:30
curben a889de9398 fix(seo): redirect post link to /blog/
* sitemap "has less powerful signal to Googlebot"
* https://support.google.com/webmasters/answer/139066
2019-06-21 13:46:54 +09:30
curben 79189e0788 fix(redirects): use HTTP 302
https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/302
don't update search engine
2019-06-12 19:01:14 +09:30
curben 08de6cf3c2 fix(redirects): use HTTP 301 2019-06-12 19:00:02 +09:30
curben 1ccf7038b8 fix: Temporarily set the homepage to /blog 2019-06-12 17:54:08 +09:30