Thank you for using the MinimalCSS Page Optimizer plugin.  The plugin was designed with simplicity in mind.  However, to allow for the degree of control we wanted the plugin to offer, there are quite a few settings you need to become familiar with.  Please make sure to read the detailed instructions before using the MinimalCSS Page Optimizer plugin.

MinimalCSS Process

The core functionality of the MinimalCSS plugin is to remove unused CSS.  The plugin relies on the MinimalCSS Node library developed by Peter Bengtsson.  The Node library uses Puppeteer to parse the URLs of a website, much like a browser would parse a webpage.

When a request is made to generate the minimal CSS for a page from within the plugin, a call is sent to a remote MinimalCSS server, which is a Node Express server with a pool of puppeteer browsers.

The server processes the request, and returns the CSS back to the plugin.  The plugin saves the CSS as a file on the server and logs the run.

Caching

MinimalCSS is not a caching plugin.  Although MinimalCSS can improve the loading speed and performance of your website, it does not perform the same tasks that a caching plugin might do, such as, combining and deferring JavaScript files, minifying HTML, creating static files of webpages, or lazy-loading images and frames.

MinimalCSS can work in conjunction with caching plugins.  Make sure to clear website caching before and after generating the minimal CSS files.

MinimalCSS Server IP

The remote MinimalCSS server parses the pages of your website in order to create the minimal CSS files.  If you have a security plugin on your website, you might need to whitelist the MinimalCSS IP address to ensure the requests are not blocked.

MinimalCSS is using Cloudflare servers, so please reference the Cloudflare IP list below:

https://www.cloudflare.com/ips/