# Optimising WordPress with the WP Rocket plugin

> Install, activate and configure the WP Rocket caching plugin to make your WordPress site load faster.

Source: https://helpcenter.ruachost.com/wordpress/guides/optimizing-wordpress-with-the-wp-rocket-plugin/

As your WordPress site grows in traffic and content, performance can slow down because WordPress dynamically generates pages for each visitor. The **WP Rocket plugin** helps optimize your site by enabling caching and other performance improvements. WP Rocket is a paid plugin that you buy directly from [wp-rocket.me](https://wp-rocket.me/). Ruachost doesn't sell WP Rocket licences.

## Why Use WP Rocket?

- Speeds up page load times with caching.
- Improves SEO rankings through faster performance.
- Reduces server load by minimizing repeated database queries.
- Provides easy‑to‑use optimization features without complex setup.

## Buying WP Rocket

1. Go to [wp-rocket.me](https://wp-rocket.me/) and choose a licence.
2. Complete the purchase on the WP Rocket website.
3. Download the plugin zip file from your WP Rocket account.

> **Tip:**
Ruachost servers run LiteSpeed, so the free LiteSpeed Cache plugin is another good option. See [Clearing your cache](https://helpcenter.ruachost.com/getting-started/website-troubleshooting/clearing-your-cache/).

## Installing WP Rocket

1. Download the installation zip file from your WP Rocket account.
2. Log in to your WordPress site as administrator.
3. In the dashboard, go to **Plugins → Add New → Upload Plugin**.
4. Select the WP Rocket zip file → Click **Install Now**.
5. After installation, click **Activate Plugin**.
6. WP Rocket will validate your license and display your key.

⚠️ Important: WP Rocket is **incompatible with other caching plugins** (e.g., W3 Total Cache, WP Super Cache). Deactivate them before activating WP Rocket.

## ⚙️ Configuring WP Rocket

By default, WP Rocket enables key optimizations automatically:

- Page caching
- GZIP compression
- Browser caching
- Image optimization

For advanced configuration:

1. In WordPress, go to **Settings → WP Rocket**.
2. Enable additional options such as:

   - ### CSS/JavaScript minification
   - ### Lazy loading for images/videos
   - ### Cache preloading
   - ### Database optimization
   - **Cloudflare integration** (if using CDN)
3. Click **Save Changes**.

## Important Notes

- Always back up your site before enabling advanced optimizations.
- Test your site after enabling features to ensure compatibility with your theme/plugins.
- Your WP Rocket licence is managed in your account at wp-rocket.me. Contact WP Rocket for licence or billing questions.
