Not Minifying Core Javascript in WordPress

I couldn’t find the answer to how to do this in WordPress. So, I he to break out the debugger. Grumble. But it does find stuff. Here’s what it found. To avoid minifying core Javascript (including such things as Gutenberg code) do this. or stick this line in wp-config.php.

Buffer Pools in WordPress Databases Are Often Too Small

I publish the WordPress plugin Index WP MySQL For Speed. Fairly often, when supporting that plugin’s users, I find a misconfiguration in the database software that seriously reduces performance. Virtually every WordPress installation uses a MariaDB or MySQL database. That database software has a feature called a *buffer pool*. It is an area of random-access … Read more

Changing WooCommerce related-products listings more often

Somebody, on a plugin support thread, asked me how to control how often to change up the related-products listings on product pages. WooCommerce automatically uses product categories and tags to find related products to the one the customer is viewing. WooCommerce does this by fetching a list of related products from the database, randomly choosing … Read more

How long does food stay good?

I volunteer at the AIO food pantry in Rockland Maine. We, and other food-distribution programs, accept donations from supermarkets and food distribution companies, not to mention many generous people. Packaged groceries — cans, bottles, bags — have a code date on them. This often says something like “Sell by 9/2027” or “Best if used by … Read more

php’s OPcache can get saturated

This entry is part 6 of 6 in the series php features

php offers OPcache, an opcode cache. This cache is used to store the results of parsing php code, and its purpose is to speed up server operations by avoiding the overhead reparsing the code for every web or command line request. The OPcache is located in RAM shared by all php processes in a process … Read more