Repolode
wp-media

wp-media/wp-rocket

A caching and performance optimization plugin for WordPress sites that reduces page load times.

Stars
769
Forks
249
Open issues
772
Last commit
yesterday

What is it?

WP Rocket is a caching plugin for WordPress, aimed at decreasing how long a website takes to load. It is distributed as a PHP plugin and can also be installed as a Composer dependency, where the plugin needs a license email and API key defined in wp-config.php before it validates.

The repository holds the plugin source along with build tooling: Gulp tasks compile the admin CSS and JavaScript in minified and unminified forms, and a beacon script is built alongside them. The project's topics point to features such as page caching, minification, lazy loading, and database cleanup.

Documentation is published in English and French. Bug reports go to the GitHub issue tracker, while support requests are handled through the vendor's ticket system, and security reports are routed through the Patchstack disclosure program.

Key features

  • 01Page caching to serve pre-generated HTML to visitors
  • 02Minification and optimization of CSS and JavaScript files
  • 03Lazy loading support for page resources
  • 04Database cleanup tools
  • 05Composer installation with license constants in wp-config.php

Use cases

  • Speeding up a WordPress site that loads slowly for visitors
  • Reducing server load on a content-heavy WordPress blog
  • Contributing to or auditing the source of a commercial WordPress caching plugin

Quick start

  1. 1

    Install the plugin with Composer as a dependency

    composer require wp-media/wp-rocket
  2. 2

    Define WP_ROCKET_EMAIL and WP_ROCKET_KEY constants in wp-config.php to validate your license

Things to know

  • A paid WP Rocket license and API key are required to validate and use the plugin.
  • Only applies to WordPress sites.

Topics

#wordpress#wordpress-plugin#caching#performance#php#minification#lazy-loading#cache#database-cleaner#lazyload

FAQ

What is wp-rocket?
A caching and performance optimization plugin for WordPress sites that reduces page load times. WP Rocket is a caching plugin for WordPress, aimed at decreasing how long a website takes to load. It is distributed as a PHP plugin and can also be installed as a Composer dependency, where the plugin needs a license email and API key defined in wp-config.php before it validates.
Is wp-rocket free to use? What license does it have?
wp-rocket is open source under the GPL-2.0 license. Check the license terms before using it in commercial products.
Is wp-rocket still maintained?
Actively maintained. The last commit to wp-rocket was on Nov 6, 2026.
What can I use wp-rocket for?
Speeding up a WordPress site that loads slowly for visitors Reducing server load on a content-heavy WordPress blog Contributing to or auditing the source of a commercial WordPress caching plugin
How do I install wp-rocket?
Install the plugin with Composer as a dependency: composer require wp-media/wp-rocket Define WP_ROCKET_EMAIL and WP_ROCKET_KEY constants in wp-config.php to validate your license
Where can I get wp-rocket?
The source code and installation instructions are on GitHub: https://github.com/wp-media/wp-rocket

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects