Plugin Performance
-
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.