🕸📝Fergus Duniho wrote on Sun, Sep 2, 2018 05:38 PM UTC:
I've now remembered why I should change this page from a PHP script to an HTML page. I had originally thought of doing this so that this page would show up when the site went down. Cloudflare, which I use for DNS, has the ability to cache content and continue to show it even when the server is down. However, this works only for static content. When I set it up to cache HTML files, it would not update the menu when someone logged in. So. I changed things back and put aside the idea of doing this page in HTML.
But now I've remembered that this page shows up as blank when PHP isn't working, but HTML pages still show their main content with only the headers and footers missing. While this isn't a good enough reason to turn all the scripts into HTML pages, I think it is a good enough reason to do the homepage in HTML. This is the main page that people come to when coming to this site, and if it is blank, it can give the appearance that the whole site is down even if it isn't.
I've now remembered why I should change this page from a PHP script to an HTML page. I had originally thought of doing this so that this page would show up when the site went down. Cloudflare, which I use for DNS, has the ability to cache content and continue to show it even when the server is down. However, this works only for static content. When I set it up to cache HTML files, it would not update the menu when someone logged in. So. I changed things back and put aside the idea of doing this page in HTML.
But now I've remembered that this page shows up as blank when PHP isn't working, but HTML pages still show their main content with only the headers and footers missing. While this isn't a good enough reason to turn all the scripts into HTML pages, I think it is a good enough reason to do the homepage in HTML. This is the main page that people come to when coming to this site, and if it is blank, it can give the appearance that the whole site is down even if it isn't.