pluginkollektiv / antispam-bee

„... another popular solution to fight spam is Antispam Bee“ – Matt Mullenweg, Q&A WordCamp Europe 2014
https://wordpress.org/plugins/antispam-bee/
GNU General Public License v2.0
164 stars 27 forks source link

Is autoloading options necessary? #590

Closed Zodiac1978 closed 1 day ago

Zodiac1978 commented 6 months ago

We use two options: antispam_bee and antispambee_db_version - both are autoloaded.

In the light of optimizing the crowded autoloaded options (See: https://wordpress.org/plugins/aaa-option-optimizer/) we could think about disabling the autoload feature. Most requests will not need them.

Additionally we could add Antispam Bee (and our other plugins) to the known plugin list of this plugin: https://github.com/Emilia-Capital/aaa-option-optimizer/blob/develop/known-plugins/known-plugins.json

See also: https://developer.wordpress.org/reference/functions/add_option/ https://developer.wordpress.org/reference/functions/update_option/

Zodiac1978 commented 1 month ago

More help: https://felix-arntz.me/blog/autoloading-wordpress-options-efficiently-and-responsibly/

Zodiac1978 commented 1 day ago

Closing due to missing activity.