Defer for Contact Form 7
Takes Contact Form 7 off the critical rendering path: moves its head scripts to the footer and loads the form CSS asynchronously. No PageSpeed hit.
Solid choice
Defer for Contact Form 7 is a solid plugin choice in 2026, with a few things worth checking first. It runs on 10+ sites and was last updated 2 days ago, and scores 66/100 on our health check.
- Actively developed — last update 2 days ago
- Tested with the latest WordPress (7.1)
- Small user base (10+ active installs)
- Very few reviews so far
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where Defer for Contact Form 7 stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| anti-spam | >100 |
| contact form 7 | >100 |
| pagespeed | >100 |
| performance | >100 |
| turnstile | >100 |
Version adoption
Share of active sites per release.
About Defer for Contact Form 7
From the official readme · v1.4.3Description
On every page Contact Form 7 loads its dependencies (wp-hooks, wp-i18n) and its CSS into the <head>, blocking first paint. This plugin fixes that:
- Defer CF7 core — moves wp-hooks/wp-i18n to the footer (you cannot
deferthem: an inlinewp.i18n.setLocaleDatablock runs synchronously and would throw “wp is not defined”). CF7’s scripts leave the critical path. - Async CSS — the form stylesheet loads via
media=print+ onload-swap.
Both optimizations are idempotent and safe on every page. Strict dependency: with Contact Form 7 inactive, the plugin does nothing.
Lightweight anti-spam
Two spam checks that need no external service and add no extra requests. Both are off by default — enable them under Contact → Performance if you don’t already run another anti-spam plugin for your forms.
- Honeypot field — a field hidden from visitors is added to every form; bots fill it in and the submission is marked as spam.
- Time trap — submissions sent faster than a human could fill in the form (configurable, 3 seconds by default) or sent without JavaScript are marked as spam. The time is measured in the visitor’s browser, so it works with page caching.
The settings page shows how many spam submissions have been blocked.
A note on jQuery
This plugin does NOT defer jQuery — on purpose. Deferring jQuery is only safe when EVERY jQuery-dependent script on the site is also deferred or in the footer; on an arbitrary site that is not guaranteed and breaks inline scripts in the head.
Pro version
Defer for Contact Form 7 Pro adds lazy-loaded anti-spam captcha — spam protection without a PageSpeed hit. Pick one provider (they are not run at the same time):
- Google reCAPTCHA v3 — score-based. api.js loads only on the first interaction with a form, so it never appears in Lighthouse/PSI. The score check is server-side; a fresh single-use token is fetched for every submission. The badge is hidden with the required Google disclaimer (GDPR-friendly); configurable score threshold and action label.
- Yandex SmartCaptcha — invisible mode, no widget shown unless the visitor looks suspicious. Same lazy-loading approach, binary server-side check. A practical alternative for sites served from Russia, where Google’s services aren’t always reliable.
- Cloudflare Turnstile — privacy-friendly and free; a “Verify you are human” checkbox appears under the form only if Cloudflare needs it. Same lazy-loading approach, binary server-side check. The site does not have to be on Cloudflare.
Switch from another captcha in one click. If the site already uses Contact Form 7’s built-in reCAPTCHA or Turnstile, or the “Captcha by Yandex for Contact Form 7” plugin, the settings page offers to move their keys over. All of them load their script on every page of the site; after the switch the captcha loads only when a visitor starts filling in a form. The keys on CF7’s “Integration” tab are cleared at the same time, leftover [yandex_captcha] tags in forms are hidden (and can be removed with one more click).
Pro also adds detailed spam statistics: a breakdown by reason (honeypot, time trap, captcha), a 30-day chart and a log of what bots typed into your forms. The log stores no IP addresses, cuts every value to 100 characters and keeps entries for 30 days.
The free version stays fully functional on its own.
External services
This plugin can connect to the following third-party services:
- Freemius (free and Pro) — licensing, updates and the optional usage-data opt-in. Nothing is sent unless the site administrator opts in (or activates a Pro license). When enabled, it sends the site URL, WordPress/PHP/plugin versions and the administrator’s name and email. Terms, Privacy Policy.
- Google reCAPTCHA v3 (Pro only, when selected and configured) — the visitor’s browser loads
https://www.google.com/recaptcha/api.json the first interaction with a form; on submit the site sends the captcha token and the visitor’s IP address tohttps://www.google.com/recaptcha/api/siteverify. Terms, Privacy Policy. - Yandex SmartCaptcha (Pro only, when selected and configured) — the visitor’s browser loads
https://smartcaptcha.cloud.yandex.ru/captcha.json the first interaction with a form; on submit the site sends the captcha token and the visitor’s IP address tohttps://smartcaptcha.cloud.yandex.ru/validate. Terms, Data processing notice. - Cloudflare Turnstile (Pro only, when selected and configured) — the visitor’s browser loads
https://challenges.cloudflare.com/turnstile/v0/api.json the first interaction with a form; on submit the site sends the captcha token and the visitor’s IP address tohttps://challenges.cloudflare.com/turnstile/v0/siteverify. Terms, Privacy Policy, Turnstile privacy addendum.
Support
Questions, bug reports or feature requests: the plugin’s support forum on WordPress.org, or https://rowan-web.ru/en/plugins/defer-for-contact-form-7/
Background article: https://rowan-web.ru/en/blog/defer-for-contact-form-7/
Installation
- Upload the
defer-for-contact-form-7folder to/wp-content/plugins/, or install the ZIP via Plugins → Add New → Upload. - Activate the plugin. Contact Form 7 must be active.
- Both optimizations are on by default — there is nothing else to configure.
- To toggle them, go to Contact → Performance.
Changelog
1.4.3
- New: optional deferred loading of Contact Form 7 form scripts (
swvandindex.js) until the first form interaction (focusin,pointerdown,mouseover, orsubmit), eliminating startup forced reflow and/feedback/schemarequests. - Fix: properly triggers CF7’s
DOMContentLoadedinitialization after lazy script loading and waits for form initialization (including themes that deferwpcf7.inittorequestAnimationFrame) before submitting.
1.4.0
- Protection status shows configuration, parallel captcha integrations and recorded server failures/recovery without making verification requests when settings open.
- Product and documentation links now point to the new plugin page, with localized RU/EN admin links.
- Refreshed RowanWeb settings, captcha and spam statistics cards, with accessible 36px controls and mobile layouts.
- Confirmation dialogs for captcha migration, old tag cleanup, deactivation and statistics reset; clear result messages.
- Pro: configured captcha protection is recognized by CF7’s mail configuration validator. Saved checks refresh automatically after protection changes; unrelated errors remain visible.
- Pro: themes can use the cf7defer-captcha-pending class and cf7defercaptchastart/cf7defercaptchaend events while waiting for a token.
- Hardened malformed input handling and provider HTTP redirect validation.
1.3.0
- Pro: Cloudflare Turnstile as a third captcha provider, loaded lazily like the others.
- Pro: one-click switch from Contact Form 7’s built-in reCAPTCHA or Turnstile and from the “Captcha by Yandex for Contact Form 7” plugin: keys are moved over and CF7’s own integration is turned off.
- Pro: the form no longer gives up after 10 seconds while the visitor is solving a visible captcha challenge (Yandex SmartCaptcha, Turnstile).
- New: the settings page tells you when another captcha loads its script on every page of the site.
- Leftover
[yandex_captcha]tags are hidden in forms after “Captcha by Yandex” is deactivated. - After an update with notable changes, a short dismissible “Thanks for updating” notice with a link to the release notes appears once — only on the Plugins screen and the plugin’s settings page. It replaces the 1.1.0 announcement that was shown on every admin screen.
1.2.2
- Fix: the plugin’s settings page (Contact → Performance) is shown in the admin menu again with Contact Form 7 6.2 and later, which moved its top-level menu.
- Updated Russian translation.
1.2.1
- Hardening: every database query now goes fully through
$wpdb->prepare(), with table names passed as identifiers (%i). Requires WordPress 6.2 or later. - A one-time request for a review on WordPress.org, shown only on the plugin’s settings page, not earlier than 14 days after installation. Any click on it hides it for good.
1.2.0
- New: honeypot field and time trap — lightweight anti-spam with no external services. Off by default.
- New: blocked-spam counter on the settings page.
- Pro: spam statistics — breakdown by reason, 30-day chart and a log of blocked submissions.
- Fixed: possible fatal error “Cannot redeclare class ComposerAutoloaderInit…” when another plugin bundles an identical Composer autoloader.
- The Pro section of the settings page is now a plain description instead of disabled fields.
- Inline scripts and styles moved to enqueued files.
- Async CSS now rewrites the stylesheet tag with the WordPress HTML API (no duplicate media attribute).
- Pro: the form no longer hangs if the captcha provider never responds (wrong key, blocked script) — after 10 seconds it is submitted and checked on the server.
- Tested with WordPress 7.1 and with WP Rocket, Autoptimize, W3 Total Cache, WP-Optimize and LiteSpeed Cache.
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best Defer for Contact Form 7 alternatives
All anti-spam plugins →FAQ
Defer for Contact Form 7: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is Defer for Contact Form 7 free?
Yes. Defer for Contact Form 7 is free to download and use from the official WordPress.org plugin directory.
Is Defer for Contact Form 7 safe to use in 2026?
Defer for Contact Form 7 is a solid plugin choice in 2026, with a few things worth checking first. It runs on 10+ sites and was last updated 2 days ago, and scores 66/100 on our health check.
How many websites use Defer for Contact Form 7?
Defer for Contact Form 7 is active on 10+ WordPress websites and has been downloaded 955 times since it launched in July 2026. It was downloaded 458 times in the last 30 days.
Does Defer for Contact Form 7 work with WordPress 7.1?
Yes. The developer has tested Defer for Contact Form 7 up to WordPress 7.1.5, the latest release. It requires WordPress 6.2 or newer.
What PHP version does Defer for Contact Form 7 need?
Defer for Contact Form 7 requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Defer for Contact Form 7 last updated?
The latest version, 1.4.3, was released on December 1, 2026 (2 days ago).
Who makes Defer for Contact Form 7?
Defer for Contact Form 7 is developed and maintained by Ryabinin Vitalii.
What are the best alternatives to Defer for Contact Form 7?
The most popular alternatives to Defer for Contact Form 7 are Akismet Anti-spam: Spam Pro… (5M+ installs), Antispam Bee (700K+ installs) and WP Armour (400K+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card

