Title: Preconnect Headers
Last modified: December 13, 2019

---

# Preconnect Headers

 *  Resolved [palmtek](https://wordpress.org/support/users/palmtek/)
 * (@palmtek)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/preconnect-headers/)
 * Is there a way to comment out Preconnect Headers and Preload Headers so that 
   I can leave them in the field without having to remove them entirely?
    I know,
   I could always save them elsewhere, but I’m lazy. It would make testing easier.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Raul P.](https://wordpress.org/support/users/alignak/)
 * (@alignak)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/preconnect-headers/#post-12245308)
 * If you want to prevent FVM from generating any headers, look into fvm.php and
   comment out lines 260 to 263. All code has comments for what it does.
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [6 years, 5 months ago](https://wordpress.org/support/topic/preconnect-headers/#post-12246125)
 * Is there perhaps a filter that can be used? When user’s edit a plugin’s files
   then they lose that when the plugin is updated.
 *  Plugin Author [Raul P.](https://wordpress.org/support/users/alignak/)
 * (@alignak)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/preconnect-headers/#post-12246139)
 * [@jdembowski](https://wordpress.org/support/users/jdembowski/) thanks, but the
   user specifically asked for a “comment out” option, probably for code testing.
 * That being said, it’s also possible to remove the filters via functions.php on
   your theme.
 *     ```
       # headers
       remove_action( 'send_headers', 'fvm_extra_preload_headers' );
       remove_action( 'wp_footer', 'fastvelocity_generate_preload_headers', PHP_INT_MAX);
       remove_filter( 'script_loader_tag', 'fastvelocity_collect_js_preload_headers', PHP_INT_MAX);
       ```
   

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Preconnect Headers’ is closed to new replies.

 * ![](https://ps.w.org/fast-velocity-minify/assets/icon-128x128.jpg?rev=1440946)
 * [Fast Velocity Minify](https://wordpress.org/plugins/fast-velocity-minify/)
 * [Support Threads](https://wordpress.org/support/plugin/fast-velocity-minify/)
 * [Active Topics](https://wordpress.org/support/plugin/fast-velocity-minify/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/fast-velocity-minify/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/fast-velocity-minify/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Raul P.](https://wordpress.org/support/users/alignak/)
 * Last activity: [6 years, 5 months ago](https://wordpress.org/support/topic/preconnect-headers/#post-12246139)
 * Status: resolved