Cache the list of known HTML tag handlers
authorAlexander Ebert <ebert@woltlab.com>
Thu, 11 Apr 2024 13:33:14 +0000 (15:33 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Sat, 8 Jun 2024 10:29:35 +0000 (12:29 +0200)
commit6c5e52f67c7aa04d4838edbb6bd98f47de55e9aa
treea780577bbb2f22e0a19a6173c791dbe0317bc6a1
parent73d3c680ddab90e6a6d8433e834bdd26d7f2e88c
Cache the list of known HTML tag handlers

The `\class_exists()` call for handlers that do not exist always go through the autoloaders.

For large sets of documents this change improves the request latency by up to 2%.
wcfsetup/install/files/lib/system/html/node/AbstractHtmlNodeProcessor.class.php