PHPackages                             collab/module-additional-criticals - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. collab/module-additional-criticals

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

collab/module-additional-criticals
==================================

Magento 2 module which loads additional critical CSS files per specific layout handles

1.0.0(1y ago)0980↑50%MITPHP

Since Aug 13Pushed 1y ago1 watchersCompare

[ Source](https://github.com/collabpl/magento2-module-additional-criticals)[ Packagist](https://packagist.org/packages/collab/module-additional-criticals)[ Docs](https://github.com/collabpl/magento2-module-additional-criticals)[ RSS](/packages/collab-module-additional-criticals/feed)WikiDiscussions main Synced 3d ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Magento 2 Additional Criticals
==============================

[](#magento-2-additional-criticals)

The Collab\_AdditionalCriticals module is a simple module that differentiates critical styles used across different areas of Your Magento app.

Configuration
-------------

[](#configuration)

Module does not have any configuration options. You just need to fulfill the requirements specified in prerequisites.

Pre-requisites
--------------

[](#pre-requisites)

- `dev/css/use_css_critical_path` must be set to `1` in `core_config_data` or in `config.php/etc.php`
- `category.css`, `simple-product.css` and `configarble-product.css` along with `critical.css` must be present in `app/design/frontend///web/css/` directory. Those need to be generated by You or Your team using custom grunt tasks for example, this module does not provide any of those files.

How it works?
-------------

[](#how-it-works)

At specific layout handles module removes default critical CSS block filled with contents of `critical.css` file and creates new block with contents taken from previously prepared files.

Layout HandleLoaded FileComment`catalog_category_view``category.css``category.css` should be generated against real category page on Magento app with `dev/css/use_css_critical_path` set to 0`catalog_product_view_type_simple``simple-product.css``simple-product.css` should be generated against real simple product page on Magento app with `dev/css/use_css_critical_path` set to 0`catalog_product_view_type_configurable``configurable-product.css``configurable-product.css` should be generated against real configurable product page on Magento app with `dev/css/use_css_critical_path` set to 0`default``critical.css``critical.css` should be generated against CMS page on real Magento app with `dev/css/use_css_critical_path` set to 0Why choose this extension over other solutions?
-----------------------------------------------

[](#why-choose-this-extension-over-other-solutions)

We don't believe in efficient modules which have tons of options - simple as that - modules which have multiple options, are prepared for many integrations always have some performance footprint for application. Having this in mind we are trying to provide simple, portable and independent modules which sometimes require some basic Magento 2 development skills.

Installation details
--------------------

[](#installation-details)

```
composer req collab/module-additional-criticals
bin/magento setup:upgrade
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

691d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/408ac0f40cb68772b4f708fe18d561f52550b856e3cac818cda09b631a51ab33?d=identicon)[collab](/maintainers/collab)

---

Top Contributors

[![jemoon](https://avatars.githubusercontent.com/u/3430741?v=4)](https://github.com/jemoon "jemoon (1 commits)")

---

Tags

magentomagento2PageSpeedcritical csscls optimization

### Embed Badge

![Health badge](/badges/collab-module-additional-criticals/health.svg)

```
[![Health](https://phpackages.com/badges/collab-module-additional-criticals/health.svg)](https://phpackages.com/packages/collab-module-additional-criticals)
```

###  Alternatives

[run-as-root/magento2-prometheus-exporter

Magento2 Prometheus Exporter

68357.9k](/packages/run-as-root-magento2-prometheus-exporter)[opengento/module-gdpr

Gdpr Compliance Module for Magento 2

14686.0k](/packages/opengento-module-gdpr)[myparcelnl/magento

A Magento 2 module that creates MyParcel labels

1860.2k](/packages/myparcelnl-magento)[baldwin/magento2-module-less-js-compiler

Allows Magento 2 to compile less files using the less nodejs compiler

2350.9k](/packages/baldwin-magento2-module-less-js-compiler)[mage-os/module-llm-txt

AI-powered LLMs.txt generation for Magento 2 / Mage-OS stores. Help AI systems understand your store with OpenAI-generated content.

234.0k](/packages/mage-os-module-llm-txt)[maisondunet/module-gtm-cookie-consent

A simple cookie consent module for magento. It relies on new GTM consent functionality.

149.5k](/packages/maisondunet-module-gtm-cookie-consent)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
