Slow Page Loading Time

My page is very slow when i open Pro Editor. I’m also getting the following message:
" Hey! Loading the preview took longer than expected. There may be script conflicts on this page. "

Could it be all the plugin’s installed? I’ve only installed the plugins offered through Pro + Jetpack .

Thoughts

Hi There,

There may be some script conflicting that is slowing down the Pro Editor loading time. If Pro is working without any issues, and just too slow, it can be related to memory. We can add the following lines in your wp-config.php file at the root of your installation:

  define( 'WP_MEMORY_LIMIT', '256M' );
  define( 'WP_MAX_MEMORY_LIMIT', '512M' );

Upon entering in this information everything should begin to work as expected unless your hosting provider has a limit on these parameters, which would keep them from taking effect. The next step would be to open up a support ticket with your hosting provider and ask them to increase your PHP memory limit to a higher setting, preferably 512M.

Does it matter if it’s PHP 5.5 or 7? Would this affect anything?

Hi @Lely i went ahead and had my hosting provider upgrade PHP memory to 512M. Could you please insert code you displayed or show me how? Thanks!

Hi,

Wordpress recommend your host supports

PHP version 7 or greater
MySQL version 5.6 or greater OR MariaDB version 10.0 or greater

With regards to the code, you need to login to your FTP and download the file wp-config.php that is located in the root directory.

Open the file using notepad or any text editor, add the code before this line.

/* That’s all, stop editing! Happy blogging. */

After that, reupload your wp-config.php file.

Hope that helps.

@paul.r

I updated it via Cyberduck FTP. But my server i think allows for multiple domains but under my primary domain. Meaning there’s a wp-config for my primary domain and there’s a sub-folder for the domain i want to speed up. I clicked into the sub-folder and found it’s wp-config and made the change.

Do i also need to make the same change for the wp-config for the primary domain?

Thanks!

Hi There,

You only need to change configuration for the specific domain. Usually your server will point to a directory under primary domain for those specific domains you have added recently.

Hope that’s clear.

:frowning: I did like that. But not working. Do you have any post say all of this problem ? I will read it :slight_smile:
Loading the preview took longer than expected. There may be script conflicts on this page.

Hi There,

In that case, can you try doing the following and see if that helps.

  • Try disabling all 3rd party plugins.
  • If you’re using CloudFlare, try purging cache or temporary disable CloudFlare CSS auto minifier.

Let us know how it goes.
Thanks!

Thanks @mldarshana !

You’re welcome.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.