3 ms·
Why does this site return status 500 but still work?
- patio11 11y agoRFC 2616: For 5xx error codes, User agents SHOULD display any included entity to the user. If your server serves up HTML on a 500, it should get rendered. This page happens to serve up HTML. Why? Well, the server administrators would have a better idea after investigating than I do. If I were playing the percentages, I'd guess "a poorly coded WordPress plugin is causing rendering the index page to time out after all content has been sent down the pipe; Apache then terminates the connection with a 500 error and sends down all the content it buffered locally prior to the timeout, which in this case happens to be everything." Circumstantial evidence: no errors on rendering static resources even though they appear to go through the same server. Other dynamic pages show very long time to first byte but sporadically give HTTP 200s; I'm assuming that they render completely and return control before Apache times out the PHP.
- deleted 11y ago[deleted]