Server outage - move to GitHub Pages? #4299
Replies: 2 comments 6 replies
-
@benyanke your thoughts? |
Beta Was this translation helpful? Give feedback.
-
I think static hosting is impractical because the number of possible combinations of options to the script is high and keeps growing. For each supported day and for each hora or Mass of that day, you need to have the number of languages squared (lang and lang2) times the number of rubrics, doubled for two possible values of But what might work is to put divinumofficium.com behind a CDN, where the CDN caches the result of running the script and can both return that without hitting the server (reducing load) and return it when the server is down. This might require you to use HTTP GET and put all the options in the URL. If you use PUT or have options in a cookie, the CDN might not be able to cache reliably. |
Beta Was this translation helpful? Give feedback.
-
There's currently a server outage for https://divinumofficium.com so I am wondering if it would be good to move the project to GitHub Pages and migrate towards statically rendered HTML files.
I am hosting https://dubia.cc on GH Pages and it's working pretty well with static rendering. I could help with the migration process, if necessary - GH Pages doesn't cost anything, there's no database, no backend. I just deploy it from GitHub Actions, running a custom script / binary to generate the necessary files.
Beta Was this translation helpful? Give feedback.
All reactions