Title: Plugin Performance
Last modified: October 3, 2022

---

# Plugin Performance

 *  [hefin](https://wordpress.org/support/users/hefin/)
 * (@hefin)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/plugin-performance-13/)
 * This plugin injects a JavaScript file wpcf7-redirect-script.js on every page 
   load of the site when installed. The script itself is small, but when this script
   isn’t required on 99% of the site couldn’t it only be loaded on pages where you
   actually have a Contact Form 7 on the page to reduce the overhead of a seperate
   HTTP get for this additional JavaScript when it isn’t needed.
 * One way to do this might be to have a checkbox in the page editor something like‘
   Use Contact Form 7 Redirection’ and only pages that have it selected will pull
   down the additional JavaScript to do the redirection.

The topic ‘Plugin Performance’ is closed to new replies.

 * ![](https://ps.w.org/cf7-redirection/assets/icon-256x256.png?rev=3311972)
 * [Successful Redirection for Contact Form](https://wordpress.org/plugins/cf7-redirection/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cf7-redirection/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cf7-redirection/)
 * [Active Topics](https://wordpress.org/support/plugin/cf7-redirection/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cf7-redirection/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cf7-redirection/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [hefin](https://wordpress.org/support/users/hefin/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/plugin-performance-13/)
 * Status: not resolved