What this solution does
The Static Page Generator module accelerates website content loading by converting dynamic pages into ready-made HTML files. Unlike standard operation relying on the database, where PHP code and templates must be executed, static pages are served directly to the browser, eliminating generation delays.
Key benefits:
- Fast page display.
- Enhanced reliability: no database errors, as only static HTML is used.
- Improved security: harder to compromise the site.
- Reduced server load and increased overall performance.
Generation is based on InfoBlock URL settings. To work correctly, you must use human-readable URLs (SEF) in the parameters for section and detail page links. URLs with dynamic parameters, such as #SITE_DIR#/catalog/list.php?SECTION_ID=#SECTION_ID#, are not supported.
The solution is optimal for sections with infrequent updates and no complex functionality: news, articles, and blogs.
Limitation:
- The administrative panel is not displayed on generated static pages.
The module generates and compresses static pages, providing automatic updates when infoblock elements change. The current version offers basic functionality and is actively under development.
Users should be aware of the following limitations: AJAX requests sent to the page itself (for example, the Smart Filter component when selecting a parameter) will not function correctly. To generate catalog pages with AJAX support, a developer must implement component request handling via a PHP file. Generating a large catalog may take significant time. Before use, verify the correct configuration of infoblock links.
General iT can connect “Static Page Generator”, configure it and verify the integration with the existing website.