
When WordPress says the server cannot process the image, the upload almost always worked. What failed is the resizing that follows, which unpacks every pixel of the photo into memory before making up to seven smaller copies. We measured that at about a quarter of a gigabyte for a 48 megapixel phone photo. Since WordPress 7.1 the block editor can do the resizing in your browser instead, while the Media Library still does it on the server, so the same photo can fail in one and work in the other. The fix depends on which limit stopped the resize, and your error log usually says which.
WooCommerce Black Friday hosting is decided by one number: entry processes divided by checkout execution time. Measure it in September, rehearse it in October, freeze the site in November.

Setting WP_POST_REVISIONS caps future growth only. To limit WordPress post revisions and actually shrink the database, you must also delete the rows already stored, because the constant removes none of them.

To stop REST API user enumeration, gate the users routes by capability in an mu-plugin, then close the author redirect, the users sitemap, and the oEmbed author fields. Verify all four while logged out.

LiteSpeed Cache and Cloudflare only double-cache when you enable edge HTML caching. Keep one page cache, leave Cloudflare on static assets, and verify with two headers.
