docs: clarify DFTE response ownership guidance

This commit is contained in:
2026-09-08 09:52:34 +10:00
parent dbbb29484a
commit 065aed893d
5 changed files with 16 additions and 4 deletions
+5
View File
@@ -2,6 +2,11 @@
Build a `PlaceholderRegistry` once during setup, but allocate a fresh `TemplateContext` for each request. A shared context would mix rendering state when clients overlap.
| Need | Use |
| --- | --- |
| A request-owned dynamic render context | `beginSafeTemplateResponse()` |
| A fixed response-slot pool owned by the application | `beginBorrowedChunkedResponse()` |
```cpp
#include <TemplateEngine.h>
#include <TemplateEngineAsyncWeb.h>
+1 -1
View File
@@ -1,4 +1,4 @@
# DFTE documentation
# DeviceFramework Template Engine (DFTE) documentation
| I want to… | Read |
| --- | --- |