CakePHP 5.4.3 may speed up building queries with deeply nested conditions

TL;DR: CakePHP 5.4.3 fixes a bug where compiling a query with deeply nested WHERE conditions got exponentially slower. On MySQL/MariaDB it was a regression in 5.4.0–5.4.2 (or already slow in 5.3 if you enable quoteIdentifiers); on PostgreSQL and SQLite it was already slow in 5.3. Whatever your database, if your app builds conditions by nesting them, upgrading to 5.4.3 alone may make it faster. Avoid repeated query expression visits #19637 ...

October 8, 2026 · nojimage

Released CakePHP Plugin - SlugGuard to Prevent User Slug and URL Route Collision

TL;DR: I released a CakePHP 5.x plugin that validates user-input URL slugs against reserved words and application routes to prevent collisions. elstc/cakephp-slug-guard: CakePHP plugin for URL-safe slug validation and reserved-word collision prevention What Does This Plugin Do? In web applications, you often want to let users choose their own profile URL slug – something like example.com/nojimage. But if a user registers a slug like admin, login, or api, it collides with your application’s routes and causes serious problems. ...

March 27, 2026 · nojimage