The PrestaShop Critical CSS module automatically generates optimized CSS files for your store's front controllers, without requiring Node.js. These files can help improve your website's performance and speed.
To install the module, follow these steps:
- Download the latest release of the module from the releases page.
- Extract the contents of the archive to the
modules
directory of your PrestaShop installation. - In the PrestaShop backoffice, navigate to the "Modules" page and search for "Critical CSS".
- Click the "Install" button next to the "Critical CSS" module.
- Once the module is installed, click the "Configure" button to access the module's configuration page.
If you want to get a zip ready to install on your shop. You can directly download it by clicking here.
- Clone this repo
git clone git@github.com:PickleBoxer/pscriticalcss.git
make build-prod-zip
The zip will be generated in the root directory of the module.
- Clone this repo
make docker-build
On the configuration page, you can enable or disable the functionality of the module to regenerate the CSS files for all front controllers.
Please note that this module has only been tested on the Classic theme from PrestaShop. It may cause issues with custom themes.
This module is licensed under the Academic Free License version 3.0. See the LICENSE file for details.
Contributions are welcome! If you find a bug or have a feature request, please open an issue. If you would like to contribute code, please fork the repository and submit a pull request.
This module was created by PickleBoxer.