GravityForms slowing down my backend very much

GravityForms slowing down my backend very much

Hi GV,

I have new site where we use GF (Version 2.8.6.1). Since i install GV it was very slow in the backend.

  • I disabled alle plugins, it was fast again
  • I started up all plugins, except GF, its ok

As soon as i startup GF it slows down.

Best Regards,
John

Check this thread could help optimize GF

https://community.gravityforms.com/t/gravityforms-slowing-down-my-backend/10957

I too am having this issue and have a ticket in with support, although they are painfully slow to respond. I think it has something to do with the Dom_parser class being used by the plugin, but I’m not 100% sure. Again, can’t get support to respond.

So I found a temp solution. I added this code and it works and the backend of my site is much faster now.

add_action('init', function() {
	if ( is_admin() ) {
		global $pagenow;

		if ( $pagenow == 'admin.php' && isset($_GET['page']) && $_GET['page'] == 'gf_edit_forms' ) {
			// Do nothing, this is the edit form page
		} else {
			remove_action( 'init', array( 'GFForms', 'init_buffer' ) );
		}
	}
}, 9);

I’m not really sure why Gravity Forms would be parsing the entire page in the admin anyways. Maybe Gutenberg? IDK.

1 Like