Built around the world’s fastest caching engine, this simple, popular and highly effective tool has everything you need to keep your website fast and thoroughly optimized!

It does it in three clever ways:

It allows you to clean and optimise your database.

It gives you the option to compress your images.

It allows you cache your pages, for super fast load times (read more below).

Extensive tests show the cache feature alone can make WordPress sites faster than any other caching plugin available. But when combined with the database and image optimize features, the difference with alternative solutions is significant.

1. Cleans the database

Your WordPress database stores everything that you need for your website – plus many things that you don’t. WP-Optimize clears out all of this unnecessary data, cleans up your tables and even retrieves space lost to data fragmentation.

The tables in MySQL (the database that WordPress uses) will, over time, become inefficient as data is added, removed, moved around. Asking MySQL to optimize its tables every now and again will keep your site running as fast as possible. It won’t happen by itself.

Every-time you save a new post or pages, WordPress creates a revision of that post or page. If you edit a post 6 times you might have 5 copy of that post as revisions. This quickly adds lots of rarely-used data to your database tables, making them unnecessarily bloated, and slower to access.

There might be thousands of spam and un-approved comments in your comments table, WP-Optimize can clean and remove those in a single click.

WP-Optimize reports which database tables have overhead and wasted spaces also it allows you to shrink and get rid of those wasted spaces.

WP-Optimize helps you to:

Make space: When you edit a post or page on your website, WordPress automatically saves the new revision to the database. If you edit things a few times (and particularly if the post is long), your database soon gets clogged up with old revisions that just sit there, taking up valuable space. WP-Optimize removes these unnecessary post revisions, freeing up valuable Megabytes of data and increasing speed and efficiency. It also cleans up your comments table, removing all the spam and un-approved comments that have built up with a single click.

Take control: WP-Optimize reports on exactly which of your database tables have overhead and wasted space, giving you the insight, control and power to keep your website neat, fast and efficient.

Keep it clean and fast: Once enabled, WP-Optimize can run an automatic clean-up on a schedule, keeping a selected number of weeks’ data, according to your specification.

2. Compresses images

Loading large images is often the biggest culprit in slowing your site’s loading time.

WP-Optimize also has an image-compression tool that uses cutting-edge lossy compression techniques to convert large images (which take a long time to load up) into compressed files saved in your image library, where they can be uploaded in an instant.

It enables you to compress PNG, JPG, GIF, BMP and TIF pictures up to 5MG in size, and it’s packed with other useful features, including:

Bulk compression, allowing you to compress multiple existing images at the same time.

Intelligent, multi-pass lossy compression algorithm, which gives you twice the compression with much less loss of resolution.

‘Restore Originals’ function, which allows you to retrieve or revert back to your original images at any point.

Auto-compress function, which automatically compress images as they’re added to the site.

EXIF Data-Keeping means image information is retained even once the image is compressed.

‘Compress Big Files function’ allowing you to compress images up to 64MB- much higher than any other plugin.

Smaller yet high quality images means significantly faster page loading times and frees up server space and bandwidth for more customers.

3. Caches pages

Page caching is probably what will make the biggest difference to your website’s performance.

Caching involves keeping dynamic data in a temporary storage area so that it can be retrieved in an instant. It’s a sure-fire way to ensure that web pages load at lightning-fast speed.

Practically, our powerful yet simple WP-Optimize cache feature generates the cache when a visitor visits any page or post on your site. WordPress processes the dynamic php files to generate that page, and we save it into a static html file, so that when the next user visits, the page doesn’t need processing. This results in a much faster loading time, and gives a slight break to your server. So caching increases speed and performance while reducing the server’s use of resources.

With minimal configuration, the plugin is easy to use and has a load of useful features, including:

Cache preloading to ensure the cache is always ready and loaded:

Gzip compression of HTML, JavaScript, and CSS to reduce site load time.

Device-Specific cache to ensure the optimized page version is always served.

Advanced exclusion rules, so that you can cache almost anything by excluding logged in users, specific URLs or cookies.

Browser Cache to instruct client browsers to reuse resources (HTML, CSS, JS) if no changes were made since the last request.

Overall WP-Optimize brings the best optimization technology together in a single seamless plugin to make your WordPress site fast, lean and efficient.

WP-Optimize Premium

Our free version of WP-Optimize is great, but we also have an even more powerful Premium version with extra features that offer the ultimate in freedom and flexibility:

Multisite Support: extends database optimisations so they function for multiple WordPress sites at a time. If you manage more than one website, you will need WP-Optimize Premium.

Flexibility and Control: gives you the power to optimize select individual tables or a particular combination of tables on one or more WordPress websites, rather than having to optimize all database tables.

Sophisticated Scheduling: offers a wide range of options for scheduling automatic optimization. Specify an exact time and run clean-ups daily, weekly, fortnightly or monthly and perform any number of additional once off optimizations.

Translations

There are 3 different ways to install WP-Optimize, as with any other wordpress.org plugin.

Using the WordPress dashboard

Navigate to the ‘Add New’ in the plugins dashboard

Search for ‘WP-Optimize’

Click ‘Install Now’

Activate the plugin on the Plugin dashboard

Uploading in WordPress Dashboard

Download the latest version of this plugin from https://wordpress.org/plugins/wp-optimize/

Navigate to the ‘Add New’ in the plugins dashboard

Navigate to the ‘Upload’ area

Select the zip file (from step 1.) from your computer

Click ‘Install Now’

Activate the plugin in the Plugin dashboard

Using FTP

Download the latest version of this plugin from https://wordpress.org/plugins/wp-optimize/

Unzip the zip file, which will extract the wp-optimize directory to your computer

Upload the wp-optimize directory to the /wp-content/plugins/ directory in your web space

Activate the plugin in the Plugin dashboard

Isn’t it better to use a dedicated caching plugin to cache my site?

We’ve built WP-Optimize around the most advanced and powerful caching technology. Our tests and feedback from real-world users show that the caching feature alone can make your site faster than any other cache plugin. See these speed test results.

Is optimizing my database safe?

Yes; optimizing does not involve any “tricks” or poking around in dangerous ways. It involves running routine clean-up operations using well-defined, common MySQL commands. Nevertheless, we always recommend backups, which cover every possibility; not just database malfunctions, but hackers, human errors, etc. We recommend UpdraftPlus.

What savings can I expect to make?

This is a “how long is string?” sort of question. It depends completely on your site – how big it is, how many users interact on it, how long it has been running, and when you last optimised it. However, the savings and speed-ups can be substantial; it is always worth making sure that your database is optimised.

How do I get support?

In our support forum, here: https://wordpress.org/support/plugin/wp-optimize/

WP-Optimize does not make large savings on my database

This is rare; it’s probably because you’re with a shared web hosting company that doesn’t allow scripts to run an optimize command via SQL statements (SQL “OPTIMIZE” instruction). Please consult your web hosting company on this matter.

Is the plugin tried and tested?

Yes – WP-Optimize is WordPress’s #1 most-installed optimisation plugin, with over 800,000 users and a pedigree going back over 8 years.

Does WP-Optimize support InnoDB tables?

WP-Optimize will disable some features if it detects InnoDB tables. Optimization of the database tables on-disk is not available, but other clean up features would work.

Can you help me restore my database?

Not unless you have an existing backup. Please ensure that you make a backup of your entire database before using WP-Optimize for the first time, and when you upgrade to a major new version of it. We recommend UpdraftPlus.

Are there any bugs in this plugin?

The plugin is an ongoing work; that means that it is impossible to rule out unforeseen situations and bugs. So I would recommend you to test it out on your local system or make a backup of your database (just to be extra careful).

How do I stop transient options from coming back automatically each time I clear them?

When WordPress uses a particular transient, that specific transient is re-created automatically. So, it’s normaly for ones which are in active use to gradually re-appear. The best way to keep things optimal is to clear the transient options on a scheduled basis. For example, WordPress may create 50 transient option in a week. If you schedule WP-Optimize to clear these options on a weekly basis, you’ll have far fewer building up.

The table size shows wrong / Not optimizing

Please check your database for corrupted tables. That can happen, usually your web hosting company can run the repair command on the db.

Which WordPress and PHP versions are supported?

To use all features in the plugin, a minimum of version WordPress 4 with PHP 5.3 are required. But we do recommend to use the latest version of WordPress. Using PHP 7+ is also highly recommended, as our caching feature will work even faster.

Which optimisation will make the biggest difference?

This depends on your setup (theme, number and quality of plugins used, etc…), but generally, caching will make the biggest visible difference to your website’s performance. Indeed, the cache functionality bypasses most of WordPress code to serve your pre-optimised pages directly to your visitor, significantly increasing the speed.

What is caching, or page caching?

From Wikipedia: “In computing, a cache is a hardware or software component that stores data so that future requests for that data can be served faster; the data stored in a cache might be the result of an earlier computation or a copy of data stored elsewhere. A cache hit occurs when the requested data can be found in a cache, while a cache miss occurs when it cannot.” — WP-Optimize does this by saving the page computed by WordPress on the disk. When a user visits a page, WP-Optimize will serve the cached page before WordPress is loaded. If the page wasn’t cached before, it will be computed by WordPress, and WP-Optimize will then save the result to the cache.

Why should I use a caching plugin on my website?

You think your site is fast? A caching plugin will make your website even faster. A faster website will increase SEO, it will improve your visitors experience, and save your server’s resources.

Is the WP-Optimize page cache compatible with Gutenberg and WordPress 5.0+?

Yes, your Gutenberg pages will be cached, as well as those created with page builder plugins such as Elementor.

How do I know my webpage is being cached (or why it isn’t)?

In order to see if your page is cached, use the “View Source” function in your web browser to view the page source. Scroll down to the bottom, and you should see a line added by the cache: <!-- Cached by WP Optimize - https://getwpo.com - Last modified: Sat, 20 Jul 2019 21:17:19 GMT ->
However, note that if you are using a further service that minifies HTML (e.g. Cloudflare), then this line may have been removed. Another method is to inspect the contents of the directory wpo-cache inside your wp-content directory. <a href=”https://getwpo.com/faqs/how-do-i-know-my-webpage-is-being-cached/>Further information can be read here

How do I configure the page cache?

Go to WP-Optimize -> Cache and enable caching. For most people, that will be enough. If you run an e-commerce, have a custom login page or any page that has dynamic content, you might want to exclude certain urls from the cache. See Advanced caching options in our documentation to know more on excluding an url from the cache.

Is the caching feature compatible with e-commerce plugins?

Yes, WP-Optimize allows you to safely cache your products, with plugins like WooCommerce or Easy Digital Downloads, or any e-commerce that uses DONOTCACHEPAGE to exclude sensitive pages from caching (e.g. my account, cart or checkout pages).

Do I need a special setup to use the caching feature?

No, if WordPress works properly, WP-Optimize will be able to cache your pages and posts.

Can I use the page caching feature together with an other cache plugin?

No, because both plugins would need to use the drop-in plugin advanced-cache.php. If you turn off caching on WP-Optimize, you can use any other caching plugin and still use the other features of WP-Optimize. But we do recommend using our caching solution.

Is WP-Optimize caching compatible with Cloudflare?

Yes! No special configuration is needed. Page cacheing on the WP site (that done by WP-Optimize) is independent of proxy cacheing (e.g. Cloudflare) – you can use both, or neither, and they will complement each other and not interfere. Just one thing to note – Cloudflare will strip out the special HTML comment at the bottom of the source of a page that is helpful to confirm that page cacheing is working, so, don’t be confused by that – it’s absence doesn’t indicate it’s not working.

Can I empty the cache automatically when performing a custom action?

Yes, you can trigger a cache purge action using WP-Optimize public functions. If you want to clear the whole cache, use the function wpo_cache_flush(). If you want to clear the cache files for a specific page or post, use WPO_Page_Cache::delete_single_post_cache($post_id);. Those are available after WP action plugins_loaded.

Will the comments work even when page caching is enabled?

Yes, when using WordPress’ commenting system, your users will still be able to post comments. Every time a comment is approved, the cache for that page or post will be cleared, allowing the next visitor to see an up to date list of comments.

What is “cache preloading”?

Usually, a page is cached when a user visits it. So the first user visiting won’t be served a cached version of the page, and will wait longer than the next users. The cache preloading functionality will go through all your pages and posts, and simulate a visit by a user, allowing WP-Optimize to cache the pages before anyone visits them. Your first visitor will thus be served a cached version of the page, increasing its performance.

TWEAK: Added WooCommerce support for lazy load

TWEAK: Prevent a couple of unwanted PHP notices being logged when running cron via the command-line

TWEAK: Tweaked update notice wording

3.0.11 – 07/Aug/2019

FIX: Check the results of opendir() when emptying the cache, to prevent a possible infinite loop if it fails

3.0.5 – 23/Jul/2019

FIX: Short-circuit Updraft_Smush_Manager::add_compress_button_to_media_modal() outside of a dashboard context, so that plugins or themes that hook into some dashboard hooks outside of that context can’t cause fatal errors

TWEAK: Added suffixes with WP-Optimize version number to js, css files

TWEAK: Change the method used to generate the configuration file path in advanced-cache.php; no issues were reported, but analysis indicated a potential way to generate a path that would not agree with what was written by saving settings; and also another way to generate an invalid path on Windows webservers running on non-standard ports.

TWEAK: The lines showing information on how many spam/trashed posts and comments existed were incomplete

2.0.1 – 12/Dec/2016

OWNERSHIP: WP-Optimize is now under the leadership of Team UpdraftPlus – https://updraftplus.com. A big thank you to Ruhani (who remains on-board) for his leadership of WP-Optimize until this point! Layout, branding and links have been altered to reflect this change.

Ability to keep last X weeks of data, any junk data before that period will be deleted – this option affects both Auto and Manual process. Appreciate time and help from Mikel King (http://mikelking.com/) about this matter.

1.0.1

Removed auto cleanup of trackbacks or pingbacks.. it’s better for people to do it manually.

Company Information

Additional resources

We use cookies to offer you a better browsing experience, analyze site traffic, personalize content, and serve targeted advertisements. Read about how we use cookies and how you can control them in the Privacy Policy page. If you continue to use this site, you consent to our use of cookies.