Nginx Aggregation

Component ID

1368358

Component name

Nginx Aggregation

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

307

Component created

Component changed

Component body

A module that circumvents core CSS and JS aggregation. No regex hacks or any other fragile things. It uses the Nginx HTTP Concat module from Tengine.

No more messing around with cache clear and CSS/JS aggregation. This is a solution that keeps CSS and JS files as they are. Less complexity, means less chance for bugs and failures. Means also less PHP code, hence more speed.

Hopefully one day this will make it to core.

Although it was designed with Nginx in mind, this module should work with Apache's modconcat.

Minification is done by the server in memory (buffer chain) using the Embedded Lua module.

Stay tuned for a release in the next few days with accompanying benchmarks.