{"id":329751,"date":"2026-07-01T05:09:52","date_gmt":"2026-07-01T05:09:52","guid":{"rendered":"https:\/\/ru.wordpress.org\/plugins\/defer-for-contact-form-7\/"},"modified":"2026-07-01T05:09:28","modified_gmt":"2026-07-01T05:09:28","slug":"defer-for-contact-form-7","status":"publish","type":"plugin","link":"https:\/\/frp.wordpress.org\/plugins\/defer-for-contact-form-7\/","author":23224545,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"1.0.0","tested":"7.0","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"Defer for Contact Form 7","header_author":"Vitalii Ryabinin","header_description":"\u0421\u043d\u0438\u043c\u0430\u0435\u0442 Contact Form 7 \u0441 \u043a\u0440\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043f\u0443\u0442\u0438 \u0440\u0435\u043d\u0434\u0435\u0440\u0430: \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u0438\u0442 wp-hooks\/wp-i18n \u0432 footer \u0438 \u0433\u0440\u0443\u0437\u0438\u0442 CSS \u0444\u043e\u0440\u043c\u044b \u0430\u0441\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u043e. \u0411\u0435\u0437 \u0443\u0434\u0430\u0440\u043e\u0432 \u043f\u043e PageSpeed.","assets_banners_color":"47248b","last_updated":"2026-07-01 05:09:28","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/www.linkedin.com\/in\/vitalii-ryabinin","rating":0,"author_block_rating":0,"active_installs":0,"downloads":50,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"ryabininvitaliy","date":"2026-07-01 05:09:28"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3592120,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3592120,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256},"icon.svg":{"filename":"icon.svg","revision":3592120,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3592120,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3592120,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3592120,"resolution":"1","location":"assets","locale":"","width":1714,"height":748}},"screenshots":{"1":"Plugin settings page under Contact \u2192 Performance: defer\/async toggles and the Pro reCAPTCHA v3 section."}},"plugin_section":[],"plugin_tags":[5445,1152,23130,1513,247],"plugin_category":[42,54],"plugin_contributors":[78154,269672],"plugin_business_model":[],"class_list":["post-329751","plugin","type-plugin","status-publish","hentry","plugin_tags-cf7","plugin_tags-contact-form-7","plugin_tags-defer","plugin_tags-pagespeed","plugin_tags-performance","plugin_category-contact-forms","plugin_category-security-and-spam-protection","plugin_contributors-freemius","plugin_contributors-ryabininvitaliy","plugin_committers-ryabininvitaliy"],"banners":{"banner":"https:\/\/ps.w.org\/defer-for-contact-form-7\/assets\/banner-772x250.png?rev=3592120","banner_2x":"https:\/\/ps.w.org\/defer-for-contact-form-7\/assets\/banner-1544x500.png?rev=3592120","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/defer-for-contact-form-7\/assets\/icon.svg?rev=3592120","icon":"https:\/\/ps.w.org\/defer-for-contact-form-7\/assets\/icon.svg?rev=3592120","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/defer-for-contact-form-7\/assets\/screenshot-1.png?rev=3592120","caption":"Plugin settings page under Contact \u2192 Performance: defer\/async toggles and the Pro reCAPTCHA v3 section."}],"raw_content":"<!--section=description-->\n<p>On every page Contact Form 7 loads its dependencies (wp-hooks, wp-i18n) and its CSS into the <code>&lt;head&gt;<\/code>, blocking first paint. This plugin fixes that:<\/p>\n\n<ul>\n<li><strong>Defer CF7 core<\/strong> \u2014 moves wp-hooks\/wp-i18n to the footer (you cannot <code>defer<\/code> them: an inline <code>wp.i18n.setLocaleData<\/code> block runs synchronously and would throw \"wp is not defined\"). CF7's scripts leave the critical path.<\/li>\n<li><strong>Async CSS<\/strong> \u2014 the form stylesheet loads via <code>media=print<\/code> + onload-swap.<\/li>\n<\/ul>\n\n<p>Both optimizations are idempotent and safe on every page. Strict dependency: with Contact Form 7 inactive, the plugin does nothing.<\/p>\n\n<h4>A note on jQuery<\/h4>\n\n<p>This plugin does NOT defer jQuery \u2014 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.<\/p>\n\n<h3>Pro version<\/h3>\n\n<p>Defer for Contact Form 7 Pro adds lazy-loaded Google reCAPTCHA v3 \u2014 spam protection without a PageSpeed hit:<\/p>\n\n<ul>\n<li>Google's api.js loads only on the first interaction with a form, so it never appears in Lighthouse\/PSI.<\/li>\n<li>The score check is server-side; a fresh single-use token is fetched for every submission.<\/li>\n<li>The badge is hidden with the required Google disclaimer (GDPR-friendly); configurable score threshold and action label.<\/li>\n<\/ul>\n\n<p>The free version stays fully functional on its own.<\/p>\n\n<h3>Support<\/h3>\n\n<p>Questions, bug reports or feature requests: https:\/\/www.linkedin.com\/in\/vitalii-ryabinin\/<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>defer-for-contact-form-7<\/code> folder to <code>\/wp-content\/plugins\/<\/code>, or install the ZIP via Plugins \u2192 Add New \u2192 Upload.<\/li>\n<li>Activate the plugin. Contact Form 7 must be active.<\/li>\n<li>Both optimizations are on by default \u2014 there is nothing else to configure.<\/li>\n<li>To toggle them, go to <strong>Contact \u2192 Performance<\/strong>.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20this%20work%20with%20caching%2Foptimization%20plugins%3F\"><h3>Does this work with caching\/optimization plugins?<\/h3><\/dt>\n<dd><p>Yes, but minifiers that combine and reorder scripts can interfere with the head\u2192footer move. Test with your cache plugin enabled.<\/p><\/dd>\n<dt id=\"does%20the%20plugin%20send%20any%20data%20anywhere%3F\"><h3>Does the plugin send any data anywhere?<\/h3><\/dt>\n<dd><p>No. It makes no external requests and stores no personal data.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release: CF7 core defer + async CSS.<\/li>\n<\/ul>","raw_excerpt":"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.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/329751","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=329751"}],"author":[{"embeddable":true,"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/ryabininvitaliy"}],"wp:attachment":[{"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=329751"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=329751"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=329751"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=329751"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=329751"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=329751"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}