Optimize webserver speed

This commit is contained in:
Daniel 2024-03-27 22:46:21 +02:00
parent 1622ed5dfb
commit 6b94fe0eba
5 changed files with 9 additions and 17 deletions

View file

@ -13,7 +13,7 @@ const char EVENTS_HTML_END[] = R"=====(
)=====";
String events_processor(const String& var) {
if (var == "PLACEHOLDER") {
if (var == "ABC") {
String content = "";
content.reserve(5000);
// Page format