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.
Compressing CSS files (most are) e.g.
Removing .dev unminified JS versions e.g.
Removing dev CSS files e.g.
Removing 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!
- The topic ‘A smaller footprint for WordPress, and a developer copy.’ is closed to new replies.