A WordPress Commenter - A WordPress Commenter - Page 20 Of 48

New option functions in 6.4

WordPress 6.4 introduces a number of new functions related to options, with a particular focus on autoloaded options. While options are autoloaded by default, based on the $autoload parameter of add_option() and update_option(), autoloading too many options is a common cause for slow server response time as well as bugs while using a persistent object cache. To help […]

Replacing hard-coded style tags with wp_add_inline_style()

This dev note highlights the changes made in WordPress 6.4 to style loading. The main focus of the changes was to replace manually created style tags printed at the wp_head action with calls to wp_add_inline_style(). This change was implemented to address issues related to redundant code and bypassing the core’s style enqueuing system, which made it challenging for […]

Improvements to Object Caching in WordPress 6.4

In WordPress 6.4, the Performance team has introduced several enhancements centered around object caching, leading to better handling of filters, reduced database queries, and improved overall system efficiency.  Change the position of notoptions lookup in get_option() In the get_option() function, a cache lookup for the notoptions key is performed; this stores an array of keys for options known […]

Improvements to Template Loading in WordPress 6.4

Improve performance of _register_theme_block_patterns() function The _register_theme_block_patterns() function previously introduced a substantial resource overhead issue, especially noticeable when themes, such as Twenty Twenty Four, registered a large number of block patterns. This overhead was mainly due to the extensive file operations required by the function, including file system checks and file reads. To address these performance issues, we […]

Performance Chat Summary: 17 October 2023

Meeting agenda here and the full chat log is available beginning here on Slack. Announcements Welcome to our new members of #core-performance WordPress 6.4 Release Candidate 1 is today Dev notes discussion @joemcgill We started tracking these in this GH issue: https://github.com/WordPress/performance/issues/840 @flixos90 updated dev notes ready for review in this Slack thread Two other dev notes for the docs team […]

9 tips to creating interesting content – no matter the business you’re coming from –

Do you find yourself struggling with creating interesting content, thinking that – maybe – you have a boring business or offer no one wants to hear and read about? Please… let me introduce you to the ultimate questionnaire that helps you come up with the on-point creating interesting content everyone will love engaging with! Now, a quick backstory… […]