WordPress.org

Ready to get started?Download WordPress

Forums

Advanced Custom Fields
Advanced Custom Fields is slowing down my site (33 posts)

  1. sfrank115
    Member
    Posted 2 years ago #

    Hi there,

    We are using this plugin on two sites:
    http://www.communityanswers.org.php5-25.dfw1-2.websitetestlink.com
    http://dancefilms.org

    And on both sites, our clients have complained that the site is moving really slow. When I contacted Rackspace, the company hosting both sites, they came back with Advanced Custom Fields as a reason for the slowdown. Also, when I try adding fields on the back end, the site always freezes up. Are there any updates available that make the plugin work more smoothly.

    On this site: http://www.communityanswers.org.php5-25.dfw1-2.websitetestlink.com
    it gets much worse when our database grows to about 3000 posts.

    Sam Frank
    Arrow Root Media
    sfrank@arrowrootmedia.com
    http://arrowrootmedia.com

    http://wordpress.org/extend/plugins/advanced-custom-fields/

  2. wolstenholme13
    Member
    Posted 2 years ago #

    We're also having this problem. All the sites that we use ACF have slowed terribly - some even comeback with server errors. Any help would be appreciated...

  3. lancemonotone
    Member
    Posted 2 years ago #

    +1

    We're also experiencing hangs of up to 20 seconds when loading an admin page that contains ACF fields.

    Love the plugin and hope this will be resolved quickly!

  4. Icethrill
    Member
    Posted 2 years ago #

    I am also experiencing this with a site I am developing. This is a major bug and needs to be fixed ASAP. If anyone finds a fix, please share.

    I am gonna take some time to debug this, especially because this plugin saves me loads of development time. If I find something, will share it here then.

    Love the plugin otherwise! :) Would be a shame to choose another plugin for the job...

  5. bjtalbot
    Member
    Posted 2 years ago #

    We're having the same problem. Could there be a conflict with other plugins? Besides ACF, we're using:

    Akismet
    Disqus
    TurboCSV

    Any commonality with other people having the same issue?

  6. Icethrill
    Member
    Posted 2 years ago #

    I am only using ACF at the moment. The plugin author is on holidays in France until 25 january. So no fix until then atleast.

    I haven't really had any luck in my debugging. My freezes occur with no real pattern. It can be when I save a post, edit a post, view the dashboard, save any acf fields and it can also occur on the front end (Not really that common for me). With the firebug NET panel I saw that Firefox is trying to retrieve some css or js with a GET request. But the GET request never finishes and I have to reload the page in the adress bar. And what CSS or JS file its trying to load, can differ.

    Is it the same error you guys are experiencing?

  7. wolstenholme13
    Member
    Posted 2 years ago #

    I don't see any pattern either, the problem seems to be completely intermittent, though I'm experiencing load problems (front end) more frequently than not. Im running ACF on multiple sites with various plugins on each of them, some just have ACF and all are slow and sometimes come back with server errors. Not all of my sites are hosted in the same place so can rule out a server issue. Is there a good alternative to ACF? Some of my clients are complaining and could do with sorting before end Jan.

    Thx :)

  8. bjtalbot
    Member
    Posted 2 years ago #

    Are you all using the very latest version of ACF? We're on 3.0.3, and I see the plugin is available in 3.0.6.

  9. wolstenholme13
    Member
    Posted 2 years ago #

    I've updated some of my sites, but not all. Same problem with both versions.

  10. Icethrill
    Member
    Posted 2 years ago #

    I am using version 3.0.6, upgraded to WP 3.3.1 now.

    Edit:

    Now my post categories is unchecked when I upgraded WP to 3.3.1. Though its not an ACF problem, seems to be a WP 3.3.1 bug... I am using the normal categories on a custom post type.

  11. Icethrill
    Member
    Posted 2 years ago #

    Usually its /wp-admin/css/colors-fresh.css thats stops loading for me.

    Like 70% of the time atleast. And this is when I am logged into the admin. And upgrading to WP 3.3.1 did not solve anything, that I can confirm.

  12. rshandel
    Member
    Posted 2 years ago #

    Anyone come up with a solution? I'm about to install ACF on WP 3.3.1, but the sluggisness certainly scares me. I've read about more fields and custom field template, but both sound like they are having serious issue in WP 3.3.1...

    Has anyone come up with any alternatives to this plugin or resolved the slowing down the site issue?

  13. Icethrill
    Member
    Posted 2 years ago #

    Install GD Press Tools (link), delete all post revisions WordPress has saved for the ACF post type. I have had no problems since.

    If the problem is the post revisions, you can change how many is saved by adding this code into the wp-config.php file:

    // The code below will make WP only save 2 revisions MAX
    define('WP_POST_REVISIONS', 2);

    I had 18 revisions of ONE field group. Everytime you change a field, a revision is probably created (or depending how you save the group field maybe).

  14. lancemonotone
    Member
    Posted 2 years ago #

    Thanks Icethrill, but your suggestion didn't work for me. I had a single revision for only a couple out of 10 field groups I set up. Deleting those revisions didn't improve the performance for me in any measurable way.

  15. rshandel
    Member
    Posted 2 years ago #

    ouch! I'm afraid to jump into ACF if this issue isn't resolved. Is there another plugin I can use in the interim?

  16. lancemonotone
    Member
    Posted 2 years ago #

    ACF is a far superior implementation but you can try Custom Field Template, which is pretty robust but has a bigger learning curve and is pretty tedious to set up. It also doesn't feature all the field types that ACF does. The plugin page screenshots make it appear to be in Japanese but it's in English.

  17. rshandel
    Member
    Posted 2 years ago #

    Thanks lancemonotone. I came across another plugin. Custom Field Suite. Did you ever use this one? The developer said its similar to ACF but created because it was lightweight and didn't break on update of WP, etc.

  18. lancemonotone
    Member
    Posted 2 years ago #

    I haven't tried it but it does look like ACF-lite. It appears to be missing some of the functionality of ACF and it creates extra database tables, which makes it harder to use the native WP API to retrieve fields. But it definitely looks easier to use than CFT.

  19. rshandel
    Member
    Posted 2 years ago #

    hmm. Is ACF still the plugin of choice then, even with the site slowing issue? What functionality is missing with CFT?

  20. Icethrill
    Member
    Posted 2 years ago #

    Yeah your right, I noticed a difference in page speed. But after an hour or so the problems started occuring again. So my above fix, did not solve anything. Trigger happy I guess.

    I have used CFT alot, 1.5 years. You can use WordPress normal get_post_meta function with Custom Field Template. Post relationship etc is missing in CFT. And you really need to get used to his weird "field group"-creation methods. It has LOTS of options, you just need to find them. Its easier to get started with ACF then CFT. But CFT has been around for a long time, so yes. I would recommend it.

    If you know how to code, the alchemy script is an option. link
    --

    And the plugin author should only load scripts when the fields are loaded and used, its considered best practice. Now in ACF date, wysiwyg and lots of other scripts are loaded on every page in the admin.

  21. rshandel
    Member
    Posted 2 years ago #

    wow. Trying to use Custom Field Suite. May be a bust as I get different results from browser to browser? Even on a var_dump of the array.

    I thought choosing adding a few custom fields and configuring them as I need them would be relatively straight forward...

    I wanted to go ahead and use ACF but between site slow down and incompatibility issue with other plugins, I feel lost (Corresponded with Yoast - author of WP SEO - confirmed ACF doesn't play well with Yoast "for no apparent reason". So... where does one go from here?

    I just need to be able to add global and page specific fields, add special tables, maybe an SEO plugin or just create the extra meta tag fields from a custom field plugin.

    Any thoughts?

  22. lancemonotone
    Member
    Posted 2 years ago #

    If you can wait for him to return from holiday in the next few days I have no doubt that the ACF plugin author will fix his plugin. He's a very capable coder.

    If you can't, try CFT. It won't take more than a few hours to get up to speed and while it can't do everything ACF does, it served me well for quite a while before I found ACF.

    This looks like a pretty good tutorial to get you started: http://www.kevinleary.net/advanced-content-management-wordpress-custom-field-templates/

  23. rshandel
    Member
    Posted 2 years ago #

    Thanks again lancemonotone. I need to get this site live asap. I 'd rather go with ACF and not have to change to a more robust plugin.

    Can I easily migrate from CFT to ACF?

    I would just bite the bullet and start with ACF if I also new it would play nicely with an SEO plugin... and other plugins.

    Do you use an SEO plugin or do you code your templates using ACF?

  24. lancemonotone
    Member
    Posted 2 years ago #

    Since CFT and ACF both use the WP postmeta table, yes you can fairly easily switch between the two. However, you'll probably have to rewrite your template tags when you switch to ACF unless you stick to the WP custom fields API. I've not noticed any problems with ACF and other plugins.

  25. bjtalbot
    Member
    Posted 2 years ago #

    By my count there are at least 5 of us experiencing this ACF slowdown. I'm just wondering if other ACF users are having the same problem and just not reporting it, or if there's something common to our installations, but relatively rare in the total universe of ACF-users, that accounts for the problem.

    Two factors I'm curious about: size of database, and use of the "relationship" field type. We use the latter, and our database is close to 9000 records. How about you?

  26. Corbula
    Member
    Posted 2 years ago #

    I've experienced the same thing, as i posted about it here.
    http://wordpress.org/support/topic/slow-admin-waits-and-is-blocked-for-a-long-time?replies=3

    ACF adds a few seconds to the index dashboard page but on an admin page that has ACF it takes about 20 seconds. I'm not using the relationship field type.

  27. lancemonotone
    Member
    Posted 2 years ago #

    I also use the relationship field and have over 40,000 postmeta records using this field.

  28. wolstenholme13
    Member
    Posted 2 years ago #

    Multiple sites running AFC. None of them use the relationship field.

  29. jchbox
    Member
    Posted 2 years ago #

    Hello

    Does the new version correct this issue of speed in admin pages ?
    I have several relationship fields for a custom type and the pages to edit in admin are loaded very slowly because of the load of all the page list for each relationship input.

    Thanks

  30. ukando
    Member
    Posted 2 years ago #

    The same - new version 3.1.6 slowing down my website.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic