Package Size of Concrete 5 as compare with other CMS ( Wordpress)
Permalink
Hello All,
I am a c5 fan, done a few sites with in c5 few years back. Recently I got a new project for an Online News Portal. The first thought comes in my mind is to develop with c5 only and I am going to do that. But here is once concern I would like to share with you all.
The download file size of Concrete 5 version 5.7.5.3 is 41.2 MB !! its 40MB while the wordpress download size is mere 7.3MB
Why this much difference ? what makes c5 this much fat ? Does it affect the performance of c5 ?
I am a c5 fan, done a few sites with in c5 few years back. Recently I got a new project for an Online News Portal. The first thought comes in my mind is to develop with c5 only and I am going to do that. But here is once concern I would like to share with you all.
The download file size of Concrete 5 version 5.7.5.3 is 41.2 MB !! its 40MB while the wordpress download size is mere 7.3MB
Why this much difference ? what makes c5 this much fat ? Does it affect the performance of c5 ?
Take a look at /concrete/vendor. This is the directory for all installed composer packages (you can find composer packages here: http://packagist.org/). You can use these packages through your whole concrete5 install, so you do not need to have composer in your Add-On package again.
The vendor directory is about 40MB unpacked. So you can imagine this is already a lot from the mentioned size.
You may or may not know this already, but WordPress is using quite "old 'n plain" PHP. It does not use composer. You can read more about WordPress in combination with Composer (if you're interested that is) - https://davidwinter.me/install-and-manage-wordpress-with-composer/...
The vendor directory is about 40MB unpacked. So you can imagine this is already a lot from the mentioned size.
You may or may not know this already, but WordPress is using quite "old 'n plain" PHP. It does not use composer. You can read more about WordPress in combination with Composer (if you're interested that is) - https://davidwinter.me/install-and-manage-wordpress-with-composer/...
@ramonleenders
I dont know much about this 'composer' features. Well, there must be a good reason that c5 is this much fat, right ? I am curious to know what are they.
I dont know much about this 'composer' features. Well, there must be a good reason that c5 is this much fat, right ? I am curious to know what are they.
Before 5.7, it was less than half the size.
5.7 uses a lot more external libraries and frameworks. Some of these get included in full, even if only a few small parts of them are actually used. It may be possible to trim that down, but hacking out parts of an external library can be a time consuming and error-prone process, so its safer to accept the bloat and bundle all of it.
As @ramonleeders notes, for developers that can be quite useful. There are lots of toys already in the programmers toy cupboard.
5.7 uses a lot more external libraries and frameworks. Some of these get included in full, even if only a few small parts of them are actually used. It may be possible to trim that down, but hacking out parts of an external library can be a time consuming and error-prone process, so its safer to accept the bloat and bundle all of it.
As @ramonleeders notes, for developers that can be quite useful. There are lots of toys already in the programmers toy cupboard.
>> @As @ramonleeders notes, for developers that can be quite useful. There are lots of toys already in the programmers toy cupboard.
>>
thats interesting, can some one list out such toys please ? I know, the captcha is there but what else ?
>>
thats interesting, can some one list out such toys please ? I know, the captcha is there but what else ?
@mesuva's visualisation shows a lot. To get it in plain text, have a look through the /concrete/vendor, /concrete/js and /concrete/css directories.
For interest's sake I've created a visualisation of the folder sizes in concrete5, and I've highlighted the major groups. See attached.
The things that are highlighted are the various little libraries, supporting files, scripts and the core src files.
The installation size of concrete5 never bothers me, but I reckon there are three groups of files that have surprised me a bit:
- The secureimage library has about 8MB of audio files, some noise files in particular
- There are 8.6MB of Adobe ICC colour profiles in the imagine library.
- The ace editor is 5.1MB. That is the editor that is used when editing in the HTML block.
I'm not suggesting any of these should/can be removed, but that they were larger than I was expecting.
The things that are highlighted are the various little libraries, supporting files, scripts and the core src files.
The installation size of concrete5 never bothers me, but I reckon there are three groups of files that have surprised me a bit:
- The secureimage library has about 8MB of audio files, some noise files in particular
- There are 8.6MB of Adobe ICC colour profiles in the imagine library.
- The ace editor is 5.1MB. That is the editor that is used when editing in the HTML block.
I'm not suggesting any of these should/can be removed, but that they were larger than I was expecting.
now that's a nice background image :D
That's true, but Wordpress requires lots of plugins to do anything. Then you need to keep them up to date due to higher risk of hacking. I'd much rather something that does all the basics out of the box rather than relying on 3rd party plugins to do simple things.
Best way to upload a new install is to download the concrete5 zip from this site, then upload that. Then on my server I extract it in cPanel. This is very quick, doesn't take me long to get a site up and running.
Cheers
Dave