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.
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).