Description
Rangtan Speed Optimizer makes your site faster without guesswork. Each speed feature is tested on your own pages before visitors see it, and switched off again automatically if something breaks. Everything can be undone from the same screen.
It is written for site owners, not server experts. The main screens use plain language; the technical details are under Advanced.
Speed
- Page cache for logged-out visitors. Logged-in users, carts, checkouts, accounts, search, feeds, the REST API and requests with session cookies are never cached. Saved pages clear themselves when content changes and expire after 10 hours.
- CSS optimization: smaller copies of your stylesheets (comments and spaces removed only),
display=swapfor Google Fonts so text shows at once, and early connections to the font and CDN servers your pages use. Your original files are never changed. - Script presets: Safe, Balanced (defers safe scripts) and Aggressive (also delays analytics, ad and chat scripts until the visitor interacts). Balanced and Aggressive are tested in your own browser first.
- Image optimization: the first big image loads first (including Elementor background slideshows, which are preloaded so the browser does not wait for scripts), the rest lazy-load in the size that fits their space on screen, and JPEG/PNG images get smaller WebP copies. Originals are never changed.
- Speed check: each feature is measured with and without it, and you are warned if it makes pages slower.
- Auto-tune (optional): turns on the page cache and safe CSS for you, one step at a time, and undoes anything that makes pages slower.
- Live progress: every test shows what it is doing, page by page.
If another caching or optimization plugin is active, the matching feature stays off and tells you why.
SEO, Site Health and QA
- SEO scan (optional): checks titles, descriptions, headings, image alt text, canonical tags, broken internal links, sitemap and robots.txt, and says what to fix on which page.
- Site Health: flags outdated, abandoned or incompatible plugins and themes. It never updates anything for you.
- QA tests (optional): checks that your pages, menus, images, login and shop pages load, and runs browser tests at phone and tablet width.
- Scheduled monitoring (optional): weekly or daily SEO and QA runs, with an email if something gets worse.
Server tools
- Web server, PHP, OPcache and object cache (Redis, Memcached) diagnostics.
- Ready-to-use Apache and Nginx rules for browser caching and compression. On Apache, the plugin can add them to
.htaccessafter you preview them, and backs up the file first. - WP-CLI commands:
wp speed-optimizeandwp rangtan-speed.
Privacy
Rangtan Speed does not track you, show ads or send data to any outside service. Its tests only load pages from your own site. Email alerts are off by default and only go to the address you enter. See External services below for the WordPress.org update check.
Compatibility
Tested on Apache and Nginx, with WordPress 6.9 to 7.1 and PHP 7.4 to 8.5, and with Redis and Memcached object caches. Multisite, LiteSpeed, OpenLiteSpeed and Windows hosting have not been fully tested. After turning on a feature, check a few of your own pages, forms and logins.
Not included yet: AVIF images, database cleanup, form testing and Google PageSpeed / Search Console integration.
Security
- Only administrators can see or change anything. On multisite, changes need a super administrator.
- Every change is a POST request with a nonce, strict input checks and a rate limit.
- Backups are never exposed in the browser or offered for download.
- Please do not post security issues in the support forum. Report them privately to the WordPress.org Plugins Team at plugins@wordpress.org.
External services
Rangtan Speed does not send any data to an outside service by itself, and it does not add any third-party script, font or tracking code to your pages. Its tests only load pages from your own site.
WordPress.org update check. The Site Health “Check now” button runs WordPress’s own update check (wp_update_plugins() and wp_update_themes()). WordPress then contacts api.wordpress.org exactly as it does on its own schedule, sending the list of installed plugins and themes with their versions, your WordPress and PHP versions and your site address. It only happens when an administrator clicks the button. Service provided by WordPress.org: privacy policy.
Scripts your site already loads. The plugin code contains the addresses of some analytics, advertising and chat services (for example googletagmanager.com, connect.facebook.net, widget.intercom.io and embed.tawk.to). This is only a list used to recognise scripts that your own site already includes, so the Aggressive preset can make them wait until the visitor interacts. Rangtan Speed never contacts these services and never sends them anything.
Connection hints. When CSS optimization is on, Rangtan Speed may add preconnect hints for font or CDN addresses that your pages already load (for example fonts.googleapis.com), and adds display=swap to an existing Google Fonts address. This only changes when the visitor’s browser opens a connection it was going to open anyway; no new service is added.
Installation
- Install the plugin from Plugins > Add New, or upload the
rangtan-speedfolder to/wp-content/plugins/. - Activate it.
- Open Rangtan Speed in the admin menu and start on the Speed page.
SEO, QA and scheduled monitoring are off until you switch them on under Settings. Only administrators can see the plugin.
Configuration
- Page cache: on the Speed page, click Turn on page cache. Your pages are tested first (up to a minute). To skip a page, use the
rangtan_speed_page_cache_exclude_pathsfilter or the exclusions box. - Apache rules: under Advanced > Server Configuration, choose the rules, click Preview, then Apply. Use Test live headers to check the result.
- Nginx: copy the snippet from the same tab, test it with
nginx -tand reload Nginx yourself.
FAQ
-
Does it change my server?
-
It never edits server, PHP or
wp-config.phpconfiguration. The page cache writes only generated pages, and CSS optimization only its smaller stylesheet copies, intowp-content/cache/rangtan-speedafter you turn them on and they pass their tests. WebP copies go into the plugin’s own folder in uploads (wp-content/uploads/rangtan-speed-optimizer/webp). Uninstalling removes all three. The optional.htaccessrules on Apache or LiteSpeed are written only after you preview and confirm them. Diagnostics are read-only. -
Will it make my site faster?
-
A page cache lets the server skip rebuilding a page for logged-out visitors, which usually shortens the time before the page starts loading. How much depends on your site, hosting and visitors, so the plugin never states a fixed speed-up. Measure your own result, for example with PageSpeed Insights.
-
Can the plugin speed up my site by itself?
-
Yes, with Auto-tune (off by default). It turns on the page cache and safe CSS optimization, one per day, each after its normal safety test. If a change makes pages slower or breaks something, Auto-tune turns it off again. It only touches features it turned on itself and never changes
.htaccessor server settings. Check your site after it changes something. -
How do I know if the plugin is making my site slower?
-
Each speed feature is measured with and without it when you turn it on, every week while it is on, and when you click Measure now. If a feature is clearly slower (more than 15% and more than 100 ms), you see a warning in the dashboard, and by email if alerts are on. Nothing is turned off automatically. These numbers come from your server and browser, not your visitors’ devices.
-
How do I undo applied rules?
-
Use Remove managed rules, or delete the lines between
# BEGIN Rangtan Speedand# END Rangtan Speedin.htaccess. Only that block is ever touched. -
Where are `.htaccess` backups kept, and how do I restore one?
-
Before each change the plugin keeps a copy in the WordPress database (the newest three copies). Nothing is written to a file, and backups are never shown or offered for download in the browser. Restoration is manual: read the copy with
wp option get rangtan_speed_htaccess_backupsor your host’s database tool and copy back only the rules you need, keeping your current rules. The dashboard’s Server Configuration tab and the plugin documentation describe each step. If no backup is available, removing the managed block is enough. -
What if `.htaccess` already contains caching or compression rules?
-
The plugin reports the rule types and sources it finds (never the rules themselves), never replaces them, and asks you to acknowledge them before adding its own block. Server-level configuration cannot be read from WordPress, so conflicts there are reported as not verified.
-
What if my site sets DISALLOW_FILE_MODS?
-
The plugin respects it: writing
.htaccessand backups is blocked on the server side. Diagnostics, previews and snippets keep working so you can apply them yourself. -
What if the `.htaccess` markers are damaged?
-
The plugin refuses to write and tells you why, because WordPress’ marker functions can otherwise delete unrelated rules. Fix or remove the damaged marker lines by hand first.
-
Why does WP-CLI show “Unknown” for the server?
-
Under the command line there is no web server. PHP settings and OPcache shown by WP-CLI describe the CLI runtime, not your website. Use the dashboard for web results.
-
Does it work with Redis or Memcached?
-
It detects them and reports what is and is not known. It does not install drop-ins or edit
wp-config.php. Use “Refresh diagnostics” twice, a few minutes apart, to run the persistence check. -
Is it multisite safe?
-
Multisite has not been tested. On multisite, only super administrators can apply rules or purge caches, because
.htaccessand caches are shared. -
What does the Balanced preset do, and how is it tested?
-
It adds
deferto a small set of safe local scripts in the page head, so the page can render while they download. jQuery, WordPress core, page builders, payment and captcha scripts are never deferred. Before it goes live, your pages are loaded in your own browser with and without the change, and any new JavaScript error cancels it. Use therangtan_speed_js_defer_excludefilter to exclude a script. -
What does CSS optimization change, and can it break my layout?
-
It only removes comments and extra spaces from your local stylesheets; no rule, selector or value changes, and any file it cannot handle safely is left alone. Still, check a few pages after turning it on. Turn off CSS optimization restores the original files at once.
-
What is never cached?
-
Logged-in users, comment authors, password-protected posts, carts and checkouts, anyone with a login, session or commerce cookie, requests with a query string, POST requests, feeds, the REST API, 404 and error pages, and anything that sets a cookie or asks not to be cached. If the site is under a different host name than WordPress is configured for, it is not cached either.
-
Will it conflict with my caching plugin or my host’s cache?
-
It is designed not to. If another page cache plugin, an
advanced-cache.phpdrop-in, or a host cache that identifies itself in response headers is found, the page cache stays off and says why. It pauses itself if one appears later and never replaces another plugin’s files. A host cache that sends no identifying header cannot be detected, so check with your host if you are unsure; the plugin’s own tests would still catch a visible problem. -
What if my host or another plugin deletes the cache folder?
-
Nothing breaks. Pages are served normally and the folder is recreated as visitors arrive.
-
How do I exclude a page?
-
Add a filter on
rangtan_speed_page_cache_exclude_pathsthat returns path prefixes such as/private-area. A page can also opt out for one request withdefine( 'DONOTCACHEPAGE', true ). -
Where do I get support?
-
In the plugin’s support forum on WordPress.org: https://wordpress.org/support/plugin/rangtan-speed-optimizer/
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Rangtan Speed Optimizer” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Rangtan Speed Optimizer” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.0
- Initial release.
- Page cache for logged-out visitors, tested on your own pages before it is switched on and rolled back automatically if a check fails.
- CSS optimization and script presets (Safe, Balanced, Aggressive), with Google Fonts
display=swapand preconnect hints. Balanced and Aggressive are tested in your own browser first. - Image optimization: first-image priority (with a preload for hero background images such as Elementor slideshows), lazy-loading with automatic image sizes, and WebP copies served through
<picture>; originals are never changed. - Speed impact check that warns when a feature makes your pages slower.
- Auto-tune (off by default): turns on the page cache and Safe CSS one step at a time and undoes anything that makes pages slower.
- Live progress for every test, with the steps, a progress bar and the page being tested. SEO and QA runs move along by themselves while the page is open.
- Site Health report for plugins and themes, SEO scan and QA tests (modules, off by default) and scheduled monitoring.
- Server diagnostics, PHP support check, and Apache/Nginx rules for browser caching and compression with a backup first.
- WP-CLI commands:
wp speed-optimizeandwp rangtan-speed.