inpsyde / translation-cache

Improves site performance by caching translation files using WordPress object cache.
GNU General Public License v2.0
42 stars 4 forks source link

Why not make the package "wordpress-muplugin"? #5

Closed MaximeCulea closed 4 years ago

MaximeCulea commented 4 years ago

Hi there,

I wanted to see if from your feedback there is any contraindication for installing the package as "wordpress-muplugin" instead of "wordpress-plugin" then copying the stuff to mu-plugin folder.

As it is installed throught composer it could be required to use a mu-require, isn't it? Anyway, it's only a matter of feedback to better understand this choice.

In advance, thank you for your response! Cheers

bueltge commented 4 years ago

If you use Multisite, yes please use it as mu-plugin. I think is the best choice to use this plugin network-wide.

MaximeCulea commented 4 years ago

@bueltge Yeah sure, but my question was more related to the mu-plugin-self-installation.

bueltge commented 4 years ago

I understand your hint so that you will install via Composer as mu-plugin, right? Often users don't have a Multisite and we need the copy in the mu-plugin folder and creation of this directory. So I see no chance to install the plugin always as mu-plugin without effort in support.

MaximeCulea commented 4 years ago

Ok I see.

My opinion is, as it is not a plugin as a feature that the client can deactivate, but more related to performances and optinization, I am always installing as mu-plugin, multisite or not ^^

Anyway, thx for the hint. Cya

bueltge commented 4 years ago

Hi @MaximeCulea you have right, also our procedure. But lot of users have no knowledge about Multisite and/or mu-plugin folder. Really often we have this topic inside the support, especially for our multilingual solution that has the dependency of a Multisite.

MaximeCulea commented 4 years ago

Thank you @bueltge for your time to prcise this. Yeah, I imagine that with MLP, things go quickly to support when installing is not "usual".

That's why you made it automagically. And to finish, have you been exploring, digging into an other way to install things to muplugin?

bueltge commented 4 years ago

We install all plugin and other requirements via Composer, that's our import tool for this step.

MaximeCulea commented 4 years ago

I am in the same case as you and that's where I don't get the choice for wordpress-plugin instead of wordpress-muplugin. I think that all people handeling plugins via composer are good enough to play with mu-plugins, aren't they ? 🤗