WordPress Developer Ukraine, Kyiv
MySQL Connection Pooling with ProxySQL for WordPress

MySQL Connection Pooling with ProxySQL for WordPress

“Too many connections”: PHP-FPM, MySQL and when ProxySQL helps PHP has no connection pool in the usual sense: every request that WordPress handles opens its own MySQL connection and closes it at the end. Under load, the number of connections equals the number of busy PHP-FPM workers, from every web server. When that number exceeds…
Details
ES Modules in WordPress 6.5: wp_enqueue_script_module()

ES Modules in WordPress 6.5: wp_enqueue_script_module()

Script modules in WordPress: wp_enqueue_script_module() For a long time, WordPress could only load classic scripts. Writing import and export in a theme meant a bundler, or a script_loader_tag filter that added type="module" by hand, with no way to share modules between plugins. WordPress 6.5 added the Script Modules API: modules are registered with an ID,…
Details
PHP 8.3 Features for WordPress Plugin Development

PHP 8.3 Features for WordPress Plugin Development

PHP 8.3 for WordPress plugin developers PHP 8.3 (November 2023) is a release of small, practical changes: typed class constants, an #[\Override] attribute, json_validate(), dynamic access to class constants and a few deprecations. In mid-2025 it is the version many hosts recommend, so plugins can start to require it, or at least must run on…
Details