4 ms·
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 r
by dotancohen 9y ago
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).
- LyndsySimon 9y agoIt'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.
- Raphmedia 9y agoNote that "load-styles.php" isn't any better https://wordpress.com/wp-admin/load-styles.php?c=0&dir=ltr&load%5B%5D=about,admin-menu,color-picker,common,customize-controls,customize-nav-menus,customize-widgets,dashboard,deprecated-media,edit,farbtastic,forms,ie,install,l10n,list-tables,login,media,nav-menus,press-this-editor,press-this,revisions,site-icon,themes,widgets,wp-admin,&ver=4.7.5 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.