You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Let user get any git version/fork at mathdown.net? #108
Aha! I don't technically need a hosting that can co-run all versions.
It's enough that user is able to host any version somewhere (eg heroku); all I need to do is proxy/redirect to a user-provided URL!
The central benefit is that ANY version (after the ability has been added) can proxy to ANY other version, independent of serving technology changes!
(The top-level html page can't be an http redirect, must be proxied; but the *.js and *.css I think can be redirects? I'm not sure if that's good or bad for performance & caching. Also should verify the redirects are transparent to behavior e.g. relative @import...)
An even cleaner idea: make ALL serving go through the proxy! Effectively all I need is create a FOSS-forking-friendly http router/frontend/load balancer/reverse proxy. And most probably it's not a matter of create, just configure!
Plus: immutable deployments - create new app, flip the default route.
Plus: everything that comes with a self-hosted router, e.g. fixed IP.
Plus: cheaper TLS (verified TLS to real backend but can go to free/cheap subdomain eg. https://foo.herokuapp.com).
Activity
cben commentedon Aug 12, 2015
A partial win would be just being able to "summon" any version by URL without any explicit deploy, a-la rawgit.com.
cben commentedon Dec 22, 2015
Aha! I don't technically need a hosting that can co-run all versions.
It's enough that user is able to host any version somewhere (eg heroku); all I need to do is proxy/redirect to a user-provided URL!
The central benefit is that ANY version (after the ability has been added) can proxy to ANY other version, independent of serving technology changes!
(The top-level html page can't be an http redirect, must be proxied; but the *.js and *.css I think can be redirects? I'm not sure if that's good or bad for performance & caching. Also should verify the redirects are transparent to behavior e.g. relative @import...)
An even cleaner idea: make ALL serving go through the proxy! Effectively all I need is create a FOSS-forking-friendly http router/frontend/load balancer/reverse proxy. And most probably it's not a matter of create, just configure!
Plus: immutable deployments - create new app, flip the default route.
Plus: everything that comes with a self-hosted router, e.g. fixed IP.
Plus: cheaper TLS (verified TLS to real backend but can go to free/cheap subdomain eg. https://foo.herokuapp.com).