namelesscoder / typo3-cms-fluid-precompiler-module
Installs: 14 468
Dependents: 1
Suggesters: 0
Security: 0
Stars: 18
Watchers: 5
Forks: 3
Open Issues: 3
Type:typo3-cms-extension
Requires
- typo3/cms-backend: ^8.7 || ^9
- typo3/cms-core: ^8.7 || ^9
- typo3/cms-extbase: ^8.7 || ^9
- typo3/cms-fluid: ^8.7 || ^9
- typo3fluid/fluid: ^2.3
Replaces
- cms_fluid_precompiler_module: 1.4.1
README
Provides a backend module and cache menu item to compile Fluid templates detected on the system, without having to render the output. The backend module in addition provides very detailed information about the efficiency of individual template files.
Installation
Available through Composer / Packagist:
composer require namelesscoder/typo3-cms-fluid-precompiler-module
Then activate the extension in the TYPO3 extension manager (and configure the settings if you wish).
There is no TypoScript or other configuration to initialize except for the extension configuration. Once activated all features are available through the clear cache menu or backend module respectively.
Usage
Using the extension is as straight-forward as can be:
- Quickly compile all Fluid templates using the clear cache menu item, for example after a system cache flush.
- Use the backend module for much more detailed processing of templates; compile all templates or individual extensions' templates, navigate the structure they render (click partial names to go to that template, etc.) and inspect all kinds of details about which ViewHelpers are used, how efficient they are, which arguments get passed to a partial - and more.
- Use the efficiency rating to gain a rough idea about the performance level of your template once compiled. The scale ranges from minus infinity (uncompilable template) to a value between 0 and 2 (float) indicating how well the ViewHelpers compile and therefore how well the template is expected to perform.
Credits
Icons by RafaĆ Brzeski (@RafalBrzeski)