Re:One Computer Can Knock Almost Any WordPress Site Offline
by Raphmedia on Wednesday February 07, 2018 @12:56PM
(#16326489)
For those that are curious, here is what the famous "load-script.php" returns when you call it with a bunch of params: https://wordpress.com/wp-admin/load-scripts.php?c=0&load%5B%...
[ Parent
| on HN ]
Re:One Computer Can Knock Almost Any WordPress Site Offline
by dotancohen on Wednesday February 07, 2018 @01:25PM
(#16326739)
That is a subtle way of making a point.
Note however that the file is under 450 KiB, there are images on that site which rival this (generated) file. And the readfile() call is an extraordinarily light call, all it does is, as the name implies, read from disk to STDOUT (the HTTP stream in this case).
Re:One Computer Can Knock Almost Any WordPress Site Offline
by Raphmedia on Wednesday February 07, 2018 @03:14PM
(#16327598)
Note that "load-styles.php" isn't any better https://wordpress.com/wp-admin/load-styles.php?c=0&dir=ltr&l...
That being said, one can only hope that generating those isn't that heavy on the server.
Re:One Computer Can Knock Almost Any WordPress Site Offline
by LyndsySimon on Wednesday February 07, 2018 @02:54PM
(#16327480)
It's not about filesize - you're not trying to saturate the site's network pipe, you're trying to tie up all of its processes combining arbitrary JS files so it doesn't have time to respond to legitimate requests.