NOTICE: All information contained herein is, and remains
the property of TechnoCore.
The intellectual and technical concepts contained
herein are proprietary to TechnoCore and dissemination of this information or reproduction of this material
is strictly forbidden unless prior written permission is obtained
from TechnoCore.
_safe_minify_html(html) -> strHTML-aware minifier that reduces response size while preserving
content integrity. Enabled when DO_COMPRESS = True (default).
Preserved blocks (content inside these tags is never modified):
<pre> / </pre><textarea> / </textarea><script> / </script><style> / </style>Minification steps (applied to content outside preserved blocks):
<!-- ... -->)> < becomes ><)This replaces the previous rjsmin-based minification which was
not HTML-aware and could corrupt inline scripts or pre-formatted
content.
Report GET responses include an ETag header computed as the MD5
hash of the rendered HTML content. When the browser sends an
If-None-Match header matching the current ETag, the server
returns 304 Not Modified with no body, saving bandwidth and
render time.
ETag is also applied to the /css/components.css route served
through this module.
_skip_process_text PropagationWhen a report object sets self._skip_process_text = True, the
WebPageReport rendering pipeline propagates this flag to the
WebServer template layer. This bypasses all process_text()
expansion ($variable$ and {command:...} substitution) on the
final HTML, which is a significant performance gain for reports
whose output is fully pre-rendered.
cythonize -3 -a -i WebPageReport.py
Compiling /home/axion/projects/axion/factory.pages/WebPageReport.py because it changed..[1/1] Cythonizing /home/axion/projects/axion/factory.pages/WebPageReport.py
Updated : 2025-10-02