WordPress.org

Support

Support » Plugins and Hacks » Plugin size

Plugin size

  • Hi WPsites,

    just tried to install your plugin and got the following error.

    I think that you need to make some clean-ups in source code. I suggest you to delete unused ACE files. For example, ACE don’t uses folders like demo or kitchen sink and many others.

    There is a screenshot with only one required folder in wpide\ace-0.2.0. And other folders (not highlighted on screenshot) have a size 22.6 Mb. This is a giant size for wp-plugin.

    Also, the current version of ACE is 1.1.01.

    Thank you for attention and for the great open-source project.

    http://wordpress.org/plugins/wpide/

Viewing 2 replies - 1 through 2 (of 2 total)
  • I came here to ask for the same thing: remove unused folders. Our backups are unnecessarily large. To combat this we have removed numerous WPide folders without any loss of functionality, especially the unused non-minimized source files. This saved dozens of megabytes from each backup.

    This should be easy to implement to benefit everyone using the plugin.

    1. After searching the source for any occurrence for the string “0.2.0” and not finding a single occurrence, I’ve removed the folder ace-0.2.0 on our local install and haven’t noticed any lack of functionality yet. Saved: 7.56MB.

    2. I had previously already removed the demo, kitchen sink etc. folders to similar effect: no loss of functionality, but major savings in disk space. Saved: +10MB if I remember correctly.

    3. I would also suspect that js/jquery-ui-1.8.20.custom.min.js might not be needed anymore when having jquery-ui-1.9.2.custom.min.js. Saved: 178kB.

    4. js/autocomplete.php.js and js/autocomplete.wordpress.js are unused duplicates of files under js/autocomplete folder. Saved: 1.28MB.

    Our installation of version 2.3.2 of the plugin now takes 8.55MB. Default install takes 34.4MB. So far we’ve been able to reduce the plugin size by 75% without any loss of functionality by removing leftover files.

    5. Removing the git folder saved another 1.26MB. Based on comments in the code the support is experimental, and I wasn’t able to see any way in the user interface for making use of this, so removing this hasn’t revealed any loss of functionality either. Trimmed plugin size: 7.29MB. Savings: 27.11MB (79%).

    Simon: hopefully this helps you in some way 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Plugin size’ is closed to new replies.