sgalinski / scriptmerger
CSS/Javascript Minificator, Compressor and Concatenator for TYPO3 - Highly configurable TYPO3 frontend performance extension for CSS/JavaScript concatenation, minification and compression with optional body parsing, async/defer loading, inline output, data-ignore exclusions, SRI integrity validation
Package info
gitlab.sgalinski.de/typo3/scriptmerger.git
Type:typo3-cms-extension
pkg:composer/sgalinski/scriptmerger
Requires
- typo3/cms-core: >=14.3.0 <=14.3.99
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
- sgalinski/js-css-optimizer: *
- sgalinski/minify: *
- sgalinski/queo-speedup: *
- sgalinski/speedy: *
Replaces
None
- dev-master
- 11.0.6
- 11.0.5
- 11.0.4
- 11.0.3
- 11.0.2
- 11.0.1
- 11.0.0
- 10.0.8
- 10.0.7
- 10.0.6
- 10.0.5
- 10.0.4
- 10.0.3
- 10.0.2
- 10.0.1
- 10.0.0
- v9.x-dev
- 9.0.5
- 9.0.4
- 9.0.3
- 9.0.2
- 9.0.1
- 9.0.0
- v8.x-dev
- 8.1.2
- 8.1.1
- 8.1.0
- 8.0.5
- 8.0.4
- 8.0.3
- 8.0.2
- 8.0.1
- 8.0.0
- 7.1.2
- 7.1.1
- 7.1.0
- 7.0.4
- 7.0.3
- 7.0.2
- 7.0.1
- 7.0.0
- 6.0.x-dev
- 6.0.4
- 6.0.3
- 6.0.2
- 6.0.1
- 6.0.0
- 5.4.0
- 5.3.1
- 5.3.0
- 5.2.2
- 5.2.1
- 5.2.0
- 5.1.4
- 5.1.3
- 5.1.2
- 5.1.1
- 5.1.0
- 5.0.3
- 5.0.2
- 5.0.1
- 5.0.0
This package is auto-updated.
Last update: 2026-11-04 15:18:21 UTC
README
License: GNU GPL, Version 2
Repository: https://gitlab.sgalinski.de/typo3/scriptmerger
Please report bugs here: https://gitlab.sgalinski.de/typo3/scriptmerger/-/issues
About
The scriptmerger merges and minifies all JS and CSS files into a single one. Files can be marked to be ignored by placing a data-ignore="1" attribute on their include tag.
Regression tests
tests/Unit/CssUrlProcessingTest.php covers SVG data URLs with embedded parentheses,
spaces and escaped quotes, font data, and relative URL rewriting in the import processor
and CSS URI rewriter.
tests/Unit/FrontendProcessingServiceTest.php covers middleware and event request propagation,
missing or stale global request state, singleton reuse, unavailable TypoScript setup, and
response content-length updates. Frontend processing loads settings from the request supplied
by the middleware or content event on every call, including when the page cache is already warm.
Run the tests from a Website Base installation with PHPUnit and the TYPO3 core available:
composer phpunit -- vendor/sgalinski/scriptmerger/tests --unit-only