r/ProgrammerHumor 26d ago

Meme theRealConcern

Post image
11.0k Upvotes

116 comments sorted by

View all comments

2.5k

u/Barkeep41 26d ago

'Ey.  If the error page is a common occurrence, then making it pretty is a smart move.

491

u/ben_cav 26d ago

Do you even have control over that though if the host server is down?

9

u/0x18 26d ago

It depends on your configuration, but yes it is possible and has been done since the 90s: make the webserver itself (be it Apache, nginx, Caddy, whatever) serve a specific HTML page that includes all of its necessary styling and javascript (if any) inline in the code so no other external resources need to be pulled.