Critical CSS plugin by ShortPixel to speed up your website. Easy to use, works on any website.
With ShortPixel Critical CSS plugin, your website can automatically generate above-the-fold CSS for your web pages.
This means your website will load faster and get better scores with online testing tools like PageSpeed Insights or GTmetrix.
How it works?
Features
The plugin was forked from the WP Critical CSS plugin, modified to use ShortPixel’s Critical CSS service and enhanced with new features.
Currently, the plugin while in its BETA version, is 100% free to use. Just install it on your website, configure it and test the results with a tool like Google PageSpeed Insights or GTMetrix
For questions or support, please contact us directly here
Other plugins by ShortPixel
Just search for “ShortPixel Critical CSS” in the plugin section of your website and install it as you would do with any other plugin.
As long as the plugin is in the BETA testing phase, it is completely free to use.
Go to our contact page.
Not at this time. Since ShortPixel.com cannot currently access protected websites, the webpage must be publicly visible to work. Depending on demand, we may add a feature to allow use on protected websites/pages as well.
The plugin’s css cache is automatically purged for that post or term, and queued again the next time the user requests it.
The entire cache is flushed, regardless of the purge setting.
Currently only WP-Rocket is supported. Others can be added as integrations upon request.
In general, any host. Some hosts like WPEngine provide special support for server cache cleanup.
This is used as a special version of the web page that forcibly disables supported caching and minify plugins to ensure critical CSS is created without complications. From an SEO perspective, these URLs are safe because they are not referenced anywhere and Google cannot crawl them.
Please report security bugs found in the source code of the ShortPixel Critical CSS plugin through the Patchstack Vulnerability Disclosure Program. The Patchstack team will assist you with verification, CVE assignment, and notify the developers of this plugin.
Release date: April 29, 2024
* Tweak: Added a “Remove Expired” button to clear the processed log of entries older than 30 days;
* Fix: Updated the text domain of the plugin to correct internationalization;
* Language: 3 new strings added, 1 updated, 0 fuzzed and 0 deprecated.
Release date: April 8, 2024
* Fix: Patched a Broken Access Control vulnerability, found by the PatchStack team (thanks!);
* Fix: Increased the overall security of the plugin by adding sanitization, nonce check and authorization.
* Language: 0 new strings added, 0 updated, 0 fuzzed, and 0 deprecated.
Release date: January 18, 2024
* Fix inlining style that contains “\0” escape sequences, eg. content: “\00a0”;
Release date: September 28, 2023
* New: added a note that the website must be visited for the plugin to generate the critical CSS;
* Fix: fully tested with PHP 8.1 & 8.2, no more deprecation warnings;
* Fix: a fatal error was triggered with PHP 5.6 and older WordPress versions due to a missing function;
* Fix: a critical error was thrown when used with WP Rocket on WP Engine;
* Language: 0 new strings added, 1 updated, 0 fuzzed, and 0 deprecated.
Release date: March 15, 2023
* New: Added support for generating Critical CSS per post type (including custom post types);
* New: When you change the theme, the Critical CSS cache is automatically purged;
* New: Added a button in the settings to clear the CSS cache;
* New: Added the “Delete” action for the API Queue;
* New: Actions similar to those for the API queue have been added for the WebCheck queue;
* New: API key detection when using other ShortPixel plugins;
* New: added help contact form for easier support requests;
* Tweak: Improved the appearance of the generated CSS in the Processed Log pop-up;
* Tweak: When selecting cache methods for WordPress templates or Custom Post Types, all suboptions are enabled by default;
* Fix: Various improvements to the WebCheck and API queues, as well as the Processed Log;
* Fix: Some links were getting a double nocache
at the end, resulting in a 404 when trying to generate the Critical CSS;
* Fix: Caching settings are no longer lost after switching themes;
* Fix: WP Cron notification can now be dismissed;
* Fix: Updated the texts and improved the general appearance of the plugin settings page;