A smaller footprint for WordPress, and a developer copy.
-
Hi All,
Normally I wouldn’t be disgruntled about uploading WordPress’s 8mb to a webserver, but currently I’m working abroad on shoddy internet connections, and I couldn’t help but notice the slow upload.
It got me thinking that it would be lovely if WordPress was a bit lighter. Digging into the files it seems that two copies of files are provided. One compressed, and another for people wanting to view the uncompressed source code.
Can I suggest providing two downloads, one for Dev’s which includes uncompressed source code, another for deployment which is parred back. In the deployment version the following could be employed:
Minify all JS files (most are) e.g.
wp-includes/js/jquery/jquery.serialize-object.jsCompressing CSS files (most are) e.g.
wp-includes/js/jcrop/jquery.jcrop.cssRemoving .dev unminified JS versions e.g.
wp-includes/js/admin-bar.dev.jsRemoving dev CSS files e.g.
wp-admin/css/colors-classic-rtl.dev.cssRemoving Comments and line breaks from PHP files.
Even if this only shaves 1/2 MB off the file size, multiply that saving by the millions of people that download and use wordpress and there’s some serious computing powered saved. Gigabytes on servers world wide, less network traffic and ultimately less energy consumption. All of which has surely got to be worth an extra download option, with an uncompressed version for developers who want to dig a little deeper.
I’d be interested to hear peoples thoughts, and please do reply if you think this has traction. I’d also happy to help make this happen if I can be of use!
Kind Regards,
Ian.
The topic ‘A smaller footprint for WordPress, and a developer copy.’ is closed to new replies.