Improvements to Template Loading in WordPress 6.4

WordPress 6.4 includes several improvements to template loading. These include caching of block patterns to reduce file system overhead, removal of unnecessary file existence checks in theme functions, caching of block template folders to reduce file lookups, and implementation of the_header_image_tag() function in older core themes for compatibility.