4 ms·
> Switching it to use a single properly formatted SQL reduced load times to under a second. We need you to change it back because the system that scrapes that
by evincarofautumn 13y ago
> Switching it to use a single properly formatted SQL reduced load times to under a second.
We need you to change it back because the system that scrapes that page is relying on the page load time.
- nwh 13y agoThat is, computer running the sign on the front of the store pulls data from here, and you've completely broken it because now the page loads a second time before it can finish drawing the screen. It /needs/ that delay on the HTTP request in order to catch up. A real programmer would have thought of that. Add some loops, sleeps and rands; we can talk about your reckless conduct in the morning.
- nnnnni 13y agoWhat's worse is when fake delays are put into the code because (stupid) people think that the computer can't possibly be doing a good job if it retrieves the results in under a second. If it's "thinking", it's working well!
- jfb 13y agoJust put a four way Cartesian join in a subselect that gets discarded. All unit tests pass! Ship it!