For developers: how to shave off 8-9MB of your C5 installation (for English-only sites)
Permalink 2 users found helpful
NOTE: This is a somewhat advanced and experimental technique for developers only. You must be familiar with the unix command line in order to make it work, and it only makes sense or has any usefulness if you're manually installing Concrete5 on your local machine before deployment (and only really matters if you're using version control).
The Zend Framework that Concrete5 includes contains a zillion files for localization. If your site is English-only and your users (people managing content and people viewing the site) are English-language-only, I think you can safely delete most of these to cut down the total file size of your C5 installation by about 8 or 9 MB (!).
I've put the technique up on github:
https://github.com/jordanlev/c5_cleanup_zend_locale_data...
Note that this is somewhat experimental. And it's only for English-language-only sites (someone could easily tweak it for other languages if they were interested though). And it may cause unforeseen problems in the future that I'm not aware of. Come to think of it, you probably shouldn't use it at all :)
-Jordan
The Zend Framework that Concrete5 includes contains a zillion files for localization. If your site is English-only and your users (people managing content and people viewing the site) are English-language-only, I think you can safely delete most of these to cut down the total file size of your C5 installation by about 8 or 9 MB (!).
I've put the technique up on github:
https://github.com/jordanlev/c5_cleanup_zend_locale_data...
Note that this is somewhat experimental. And it's only for English-language-only sites (someone could easily tweak it for other languages if they were interested though). And it may cause unforeseen problems in the future that I'm not aware of. Come to think of it, you probably shouldn't use it at all :)
-Jordan