Server-Side Rendering (SSR)
TeqCMS uses server-side rendering to generate HTML pages from templates. This provides fast response times, full compatibility with search engines, and predictable website behavior without requiring client-side JavaScript.
Rendering is implemented through the packages @flancer32/teq-tmpl and @flancer32/teq-cms, which assemble final pages from template fragments. Two engines are supported: Nunjucks and Mustache, and the architecture allows for connecting others.
If a specific fragment is missing for the required locale, TeqCMS automatically uses the template from the base locale. This improves reliability and flexibility when working with multilingual sites.
Important: the locale used to display pages does not have to match the base locale from which translations are made. For example, translations can be made from the Russian version while displaying the English version as the main site version. This behavior is explicitly configurable.
Rendering occurs entirely on the server side, ensuring SEO optimization and easy deployment without build pipelines.