Skip to main content
Magnifying Glass
Recent
    Magnifying Glass

    No results for ""

    Start typing to search...

    ↑↓ Navigate ↵ Open ESC Close
    Powered by Lunr
    )彡
    • Documentation
      • InfoAbout
      • Arrow ClockwiseGet Started
      • CodeSyntax
      • TerminalUsage
      • NoteTutorials
      • StarburstExtending
      • CpuAdvanced
      • BookmarkReference
      • Troubleshooting
    • Releases
    • Dev
      • GitHub
      • Kida API Reference
    Mode
    Palette
    )彡
    • Documentation
      • Info About
      • Arrow Clockwise Get Started
      • Code Syntax
      • Terminal Usage
      • Note Tutorials
      • Starburst Extending
      • Cpu Advanced
      • Bookmark Reference
      • Troubleshooting
    • Releases
    • Dev
      • GitHub
      • Kida API Reference
    Mode
    Palette
    Documentation
    Caret Right
    Info About
    Architecture
    Performance
    Thread Safety
    Comparison
    FAQ
    Caret Right
    Arrow Clockwise Get Started
    Installation
    Quickstart
    First Project
    Coming from Jinja2
    T-String Templates
    Caret Right
    Code Syntax
    Variables
    Control Flow
    Filters
    Functions
    Inheritance
    Includes
    Caching
    Async
    Caret Right
    Terminal Usage
    Loading Templates
    Rendering Contexts
    Streaming
    Escaping
    Error Handling
    Caret Right
    Note Tutorials
    Migrate from Jinja2
    Flask Integration
    Build Custom Filters
    Caret Right
    Starburst Extending
    Custom Filters
    Custom Tests
    Custom Globals
    Custom Loaders
    Caret Right
    Cpu Advanced
    Static Analysis
    T-Strings (PEP 750)
    Compiler Internals
    Worker Auto-Tuning
    Security Hardening
    Profiling
    Block Caching
    Caret Right
    Bookmark Reference
    API Reference
    Filters Reference
    Tests Reference
    Configuration
    Caret Right
    Troubleshooting
    Undefined Variable
    Template Not Found
    1. Documentation
    External Open LLM text
    Share with AI
    Ask Claude Ask ChatGPT Ask Gemini Ask Copilot

    Advanced

    Advanced features for framework authors and power users

    Clock 1 min read File Text 197 words

    Features for framework authors, SSG/SSR builders, and power users who need to go beyond standard template rendering.

    Magnifying Glass
    Static Analysis
    Analyze templates for dependencies, purity, and caching potential

    Extract dependency paths, validate contexts, and plan caching strategies.

    Shield
    T-Strings (PEP 750)
    Auto-escaping HTML and composable regex via Python 3.14 t-strings

    Use thek() and r()tag functions for safe interpolation.

    Cpu
    Compiler Internals
    F-string coalescing, AST preservation, and render modes

    Understand and tune the compilation pipeline.

    Worker Auto-Tuning
    Workload-aware parallelization for free-threaded Python

    Optimal worker counts, template scheduling, and environment detection.

    Shield
    Security Hardening
    Context-specific escaping, URL validation, and attribute safety

    Protect against XSS in JavaScript, CSS, and URL contexts.

    Profiling
    Opt-in render instrumentation with zero overhead when disabled

    Track block timings, macro calls, includes, and filter usage.

    Database
    Block Caching
    Connect analysis results to runtime block caching

    Cache site-scoped blocks for 40-60% faster builds.

    advanced

    © 2026 Kida

    built in ᓚᘏᗢ