Plugin Directory

A2 Optimized WP – Turbocharge and secure your WordPress site

A2 Optimized WP – Turbocharge and secure your WordPress site


Boosting performance and securing your WordPress site has never been easier with the A2 Optimized WP plugin from A2 Hosting. Get customized desktop and mobile performance scores for your site, including:

  • Server speed (Time to First Byte)
  • Page load speed (Largest Contentful Paint)
  • User perception (First Contentful Paint)
  • Visual stability (Cumulative Layout Shift)
  • Website browser speed (First Input Delay)

Using these scores, A2 Optimized WP generates specific, personalized recommendations for improving your site:

  • Performance
  • Security
  • Best practices compliance

With just a few clicks you’ll give your WordPress site the boost it needs with stable, industry-proven optimizations and improvements.

Vulnerability disclosure program

Performance optimizations

Our plugin is optimized to work best in the A2 Hosting environment, so items marked with an asterisk (*) are only available for sites hosted at A2 Hosting. If you are not an A2 Hosting customer, join today!

Page caching
* Allows site visitors to save copies of your web pages on their device or browser. When they return to your website in the future, your site files load faster.
* This optimization improves Time to First Byte (TTFB) and reduces bandwidth usage.

Gzip compression
* Turns on Gzip compression to make text files smaller.
* This optimization improves Time to First Byte (TTFB) and reduces bandwidth usage.

Redis object caching (*)
* Stores commonly used elements such as menus, widgets, and database sets in memory.
* This optimization improves Time to First Byte (TTFB).

Minify HTML pages
* Removes extra spaces, tabs, comments, and line breaks from HTML pages.
* This optimization improves First Contentful Paint (FCP) and First Input Delay (FID).

Automatic database optimizations
* Periodically cleans MySQL databases of expired transients (a type of cached data used in WordPress) as well as trashed and spam comments. Also optimizes database tables.
* This optimization improves Time to First Byte (TTFB) for uncached pages.

Compress images on upload (*)
* Automatically compresses images when they are uploaded to your site.
* This optimization improves First Contentful Paint (FCP), Largest Contentful Paint (LCP), and First Input Delay (FID).

Turbo Web Hosting (*)
*Takes advantage of A2 Hosting’s Turbo Web Hosting platform to provide faster serving of static files, pre-compiled .htaccess files for improved performance, PHP opcode caching, and more.
*This optimization can improve multiple benchmarks.

Use system cron instead of WordPress cron (*)
* Replaces the WordPress virtual “cron job” with a genuine, system-defined cron job.
* This optimization reduces the load on WordPress and ensures scheduled tasks run at precise, correct intervals.

Minify inline CSS and JavaScript
* Removes extra spaces, tabs, comments, and line breaks from inline CSS and JavaScript.
* This optimization improves First Contentful Paint (FCP) and First Input Delay (FID).

Disable WooCommerce AJAX Cart Fragments
* Disables WooCommerce AJAX Cart Fragments on your homepage and enables the “redirect to cart page” option.
* This optimization improves WooCommerce performance.

Security optimizations

Our plugin is optimized to work best in the A2 Hosting environment, so items marked with an asterisk (*) are only available for sites hosted at A2 Hosting. If you are not an A2 Hosting customer, join today!

Lock editing of plugins and themes from wp-admin
* Prevents misuse of built-in editing capabilities for the WordPress admin.

Change login URL (*)
* Changes the login page URL from the default wp-login.php to a random URL.
* Helps prevent bots from brute-force attacking your login page.

Add CAPTCHA for comments and login (*)
* Adds a CAPTCHA to comment forms and login pages to deter bots from posting spam comments and running brute-force attacks..

Block unauthorized XML-RPC requests
* Rejects XML-RPC requests except for whitelisted services, such as Jetpack.

Deny direct access to configuration files
* Displays a “403 Forbidden” error when visitors or bots try to access WordPress configuration files.

Best practices recommendations

Regenerate wp-config salts
* Generates new values for wp-config.php salts and security keys for increased security.

Recent post limit
*Checks the number of recent posts per page, which should be less than 15 for most sites.

RSS post limit
* Checks the number of posts in RSS feeds, which should be less than 20 for most sites.

Recent posts showing on home page
* Checks whether the home page displays recent posts, and offers to use a static page instead for faster performance.

Permalink structure
* Checks that the permalink structure is configured to fully optimize page caching and get additional SEO benefits.

Unused themes
* Checks if there are any non-default, unused themes that should be deleted.

Inactive plugins
* Checks if there are any inactive plugins that should be deleted.

Hosted with A2 Hosting
* Checks if your site is hosted with A2 Hosting for faster page load times and more optimizations.


  • A2 Optimized Performance Dashboard
  • A2 Optimized Front End Performance Recommendations
  • A2 Optimized Backend Benchmark Results
  • A2 Optimized Optimizations panel


  1. Upload a2-optimized into the wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Click ‘A2 Optimized’ in the admin menu
  4. Click buttons to enable optimizations
  5. Check out warnings that A2 Optimized has detected that may be slowing down your site
  6. Check out Best practices recommendations that may help you identify issues that may be slowing down your site.


How does A2 Optimized speed up my site?

Caching is the fastest and easiest way to speed up a dynamic website.
A2 Optimized will install and configure the best available caching method with the click of a few buttons.

Does A2 Optimized make all sites faster?

A2 Optimized will speed up most sites; however, not all plugins and themes are compatible with all optimizations.
If your site is slower after enabling caching in A2 Optimized, talk to a developer about finding better solutions for the plugins that you are using.

Can I use A2 Optimized with WordFence?

A2 Optimized is compatible with most of the features in WordFence, however you should disable caching and logging in WordFence. Also, if page caching in A2 Optimized is enabled, some WordFence features that required WordPress to be fully loaded may not trigger.

Can I use A2 Optimized on any host?

Yes. A2 Optimized works on any host that supports WordPress; however, A2 Hosting provides a few more tools for speeding up your site when hosted on an A2 Hosting server.


July 1, 2024 1 reply
Update 1: The plugin seems to have been improved since my first review. Update 2: A2 tech support intervened and helped reconfigure the plugin, using their CDN. It’s much better now after their help. Original review: I’m an A2 customer. I had a bad time with this plugin a few years ago. I’ve since run on A2 without their plugin. I tried it again today, and with the basic optimizations switched on, my mobile score dropped by 6 points. It’s now uninstalled yet again, and I won’t be making this mistake a 3rd time. There are too many good optimization plugins out there to choose from.
April 21, 2023
First off, if you are having any issues with this plugin (I see a few negative reviews), like me, you probably don’t know what you are doing. I had issues too because I didn’t know the best way to set this up. I jumped on a call with A2 support (ask for Jake, he’s the man!) to get mine fixed up correctly, and the site is now blazing fast. A score of 100 on page speed insights desktop, 77 on mobile (a very respectable result for a review site with ads and Amazon plugins), and an A on GTmetix. There’s no way to BS if you check with third-party tools, and they hit the bullseye. If you don’t know what you are doing, get this set up correctly with the A2 team. You’re site will definitely benefit.
April 19, 2023
A-2 hosting just optimized my website. far so good, lets see how this plays out. I am excited about the potential outcome or a faster website.
April 18, 2023 2 replies
The plugin works very well with the Litespeed Cache plugin. In my case I had to disable Litespeed because my proxy (Ezoic) is not Litespeed compatible and in this case also the object cache is disabled, which caused major problems. In conclusion, my observation is that the plugin brings a decisive advantage in conjunction with Litespeed Cache.
April 10, 2023
A2 Hosting support installed this plugin for my site and it has sped it up by 91%. Thank you.
Read all 40 reviews

Contributors & Developers

“A2 Optimized WP – Turbocharge and secure your WordPress site” is open source software. The following people have contributed to this plugin.




  • Fixed an issue where sites with low memory limits and tens of thousands of large images may experience problems loading the A2 Optimized dashboard


  • Revised list of Best Practices
  • Built-in Disk Caching will now auto-detect and apply optimizations for WooCommerce

  • Tested with WordPress 6.4
  • Additional A2 TurboHub functionality
  • Small bug fixes

  • Tested with WordPress 6.2.1
  • Adjusted timeouts with pulling data from Google Pagespeed API


  • Tested with WordPress 6.2
  • Feature to use bcrypt for storing password hashes
  • Feature to remove old backups of wp-config

  • Small quality of life changes


  • More information provided on page regarding requirements for Redis caching
  • Added feature to lock Litespeed Cache settings once optimized
  • Will attempt to clean up files left by previous versions of the plugin


  • Small QoL improvements.


  • Users may now supply their own Google Pagespeed Insights API key to run benchmarks. This is available through the “Advanced Settings” panel under the “Website and Server Performance” tab.
  • If the “Login URL Change” feature is enabled, the new login URL is displayed by the toggle.
  • Other small QoL improvements.

  • Small update for A2 hosting customers

  • Small QoL improvements


  • Fixes issues with some optimizations not displaying status properly


  • Fresh new UI
  • Front-end and Back-end benchmarks
  • Compare your performance against A2 Hosting’s Turbo and Managed WordPress plans
  • Find new recommendations on areas where you could further improve your performance

  • Better compatibility with LiteSpeed Cache

  • Optimize database tables was not being called correctly in some cases.

  • Fix for issue where TurboCache was not being correctly identified.


  • Added Scheduled Database Optimizations.
  • Added support for redis object caching on A2 Hosting.

  • Add information related to A2 Optimized to the Site Health panel.

  • Patches a cross-site-scripting vulnerablity. This is a recommended upgrade.

  • Small improvments to disk caching

  • Fixed issue with handling of some regex formulas in the advanced cache settings exclusion list
  • Additional checks when adding memcached server for object caching


  • Removed requirement for W3 Total Cache. A2 Optimized now contains it’s own caching engine. Don’t worry if you still want to use W3 Total Cache, it will continue to work as it always has with this and future updates.
  • Memcached object caching is now available on any host that supports it.
  • Small UI refresh.

  • Fixed an issue where server GZIP capabilities were not always detected

  • No longer count default themes on Warnings tab

  • Added Divi specific optimizations


  • All admin notices are now dismissable

  • Adjustments to Cloudflare detection

  • Fixed compatibility issue with X Theme

  • Added feature to regenerate wp-config salts

  • Added helpful information on extra plugins installed along with A2 Optimized on A2 Hosting accounts

  • Added option to block unauthorized XML-RPC calls

  • Added option to dequeue WooCommerce cart fragment calls

  • Wordfence is no longer marked as an incompatible plugin

  • Changed code to reduce notices for users with debug enabled

  • Removed P3 Profiler from list of optional plugins

  • Changed protect config files to an optional optimization

  • Fixed error with KB search

  • reCaptcha for comments enabled for mangaged hosting

  • Emails site admin if login URL changes


  • Settings page for custom reCaptcha options

  • Fixed issue with some plugins causing slowdowns on dashboard screen

  • Fixed issue with getting current user for some operations
  • Removed incorrect KB link

  • Clearer information when incompatible plugins are detected
  • Fixed issue with gzipping being enabled inadvertantly while changing other settings

  • Clearer information regarding W3 Total Cache upgrade
  • Fixed issue where sites installed in subdirectories may not function as expected


  • Updated reCAPTCHA to API v2
  • Better support and triage for unsupported versions of W3 Total Cache
  • Better support for mobile and tablet screen sizes on our optimizations page

  • Added plugin update notices to ensure users are aware of any important update details

  • Additional check for compatible W3TC
  • Added check to see if your server is already has compression enabled


  • Enable SSL caching by default


  • Revert use of PHP short arrays


  • Removed Clef and tested against WordPress 4.8


  • Added dmatteson as a plugin author


  • added namespace class to css to prevent collision with other plugins


  • minor bug fixes
  • check for PHP version >= 5.3


  • Move from SaaS to Full GPL