add core view extension with JTE and Thymeleaf support
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
# Performance
|
||||
|
||||
`flash-ext-view-thymeleaf` is optimized for low overhead on request path.
|
||||
|
||||
## Current runtime choices
|
||||
|
||||
- Handler view metadata resolved once and cached.
|
||||
- Global/local model merge done in a single pass.
|
||||
- Thymeleaf target metadata resolved and cached per handler class.
|
||||
- No engine-agnostic adapter indirection.
|
||||
|
||||
## Best practices
|
||||
|
||||
- Cache services in `onViewInit()`.
|
||||
- Keep `addGlobal(...)` resolvers cheap and side-effect free.
|
||||
- Build only the model fields needed by template.
|
||||
- Avoid blocking I/O in `render(...)`; delegate to precomputed service data when possible.
|
||||
Reference in New Issue
Block a user