WP Roids

WP Roids | Philip K. Meadows | cache,caching,minify,Optimize,Page Speed


Fast AF caching! Optimize your site’s HTML, CSS, JavaScript AND images

  • Minifies and strips comments out of HTML
  • Generates static HTML pages
  • Minifies CSS and generates single compiled CSS files per page
  • Minifies JavaScript and generates single compiled JavaScript files per page
  • Defers loading of generated JavaScript file
  • Compiles WordPress Core jQuery and jQuery-migrate files into one file
  • Compiles and minifies CSS and JavaScript loaded from external CDN sources
  • Compresses JPEG and PNG images hosted in your site’s Media Library
  • Features above can be toggled on and off
  • CSS and JavaScript optimisation can be toggled on and off on a per Plugin basis

Getting Started

No complicated settings to deal with;

  1. Deactivate/delete any current caching or minification plugins
  2. Install WP Roids
  3. Activate WP Roids
  4. Log out
  5. Refresh your home page TWICE

“It broke my site, arrrrrrgh!”

Do the following steps, having your home page open in another browser. Or log out after each setting change if using the same browser. After each step refresh your home page TWICE

  1. Switch your site’s theme to “Twenty Nineteen” (or one of the other “Twenty…” Themes). If it then works, you have a moody theme
  2. If still broken, go to the WordPress Plugins page and disable all Plugins (except WP Roids, obviously). If WP Roids starts to work, we have a plugin conflit
  3. Reactivate each plugin one by one and refresh your home page each time time until it breaks
  4. If still broken after the above step, go to the Settings tab and try disabling JS optimisation for the Plugin which triggered an error in the previous step – this is done in the second section “Plugins JavaScript”
  5. Finally, if no improvement has occurred, go to the Settings tab and experiment with toggling options in the first section “Core Settings”
  6. If you have the time, it would help greatly if you can log a support topic on the Support Page and tell me as much as you can about what happened

How Fast Is It?

In testing, WP Roids was FASTER than:

  • WP Super Cache
  • W3 Total Cache
  • WP Fastest Cache
  • Comet Cache
  • Autoptimize
  • WP Speed of Light
  • …and many more!

Where Can I Check Site Speed?

Either of these two sites is good:

Software Requirements

In addition to the WordPress Requirements, WP Roids requires the following:

  • .htaccess file to be writable

    some security plugins disable this, so just turn this protection off for a minute during install/activation

  • PHP version greater than 5.4.0

    It WILL throw errors on activation if not! No damage should occur though

  • PHP cURL extension enabled

    Usually is by default on most decent hosts

Under The Hood

WP Roids decides which Pages and Posts are suitable for caching and/or minification of HTML, CSS & Javascript.

For HTML caching, image compression, and minification of CSS & JavaScript, the rules generally are:

  • User is NOT logged in ~ might change this in future, Phil
  • Current view IS a Page or Post (or Custom Post Type)
  • Current view is NOT an Archive i.e. list of Posts (or Custom Post Types) ~ might change this in future, Phil
  • Current view has NOT received an HTTP POST request e.g. a form submission
  • Current view is NOT WooCommerce basket, checkout or “My Account” page

If any of the above rules fail, WP Roids will simply just minify the HTML output. All else gets the CSS & Javascript combined and minified (and requeued), then the Page/Post HTML is minified and a static .html file copy saved in the cache folder.

The cache automatically clears itself on Page/Post changes, Theme switches and Plugin activations/deactivations

WP Roids can also detect if you have manually edited a Theme CSS or JavaScript file and will update iteself with the new versions


Copyright: © 2019 Philip K. Meadows (coded in Great Britain)

Released under the terms of the GNU General Public License

Credits / Additional Acknowledgments


NOTE: WP Roids requires the .htaccess file to have permissions set to 644 at time of activation. Some security plugins (quite rightly) change the permissions to disable editing. Please temporarily disable this functionality for a moment whilst activating WP Roids.

The quickest and easiest way to install is via the Plugins > Add New feature within WordPress. But if you must, manual installation instructions follow…

  1. Download and unzip the latest release zip file.
  2. If you use the WordPress plugin uploader to install this plugin skip to step 4.
  3. Upload the entire plugin directory to your /wp-content/plugins/ directory.
  4. Activate the plugin through the ‘Plugins’ menu in WordPress Administration.

Plugin author

Philip K. Meadows

Plugin official website address

If you encounter problems in using the WP Roids plugin, you can comment below, and I will try my best to help you solve the problem

Leave a Comment

Your email address will not be published.