Home › Forums › Backend Issues (wp-admin) › Client Side loading of Repeater on Edit page › Reply To: Client Side loading of Repeater on Edit page
I figured out a solution that cut down the load time from around 20 minutes to 20 seconds:
1. Install the “WP Custom Admin Interface” plugin
2. Add this CSS to the “Add custom CSS to the WordPress admin” area:
#poststuff { display:none; }
3. Add this JS to the “Add custom Javascript/jQuery to the WordPress admin” area:
$(function() {
$("#poststuff").show(0);
});
I researched the slowness using Chrome’s Performance Profile and found that the majority of the time was spent on force reflows of the content. The above works because all areas of the page that are getting repeatedly re-rendered are hidden so the browser never has to “think” about where everything gets painted. When everything has been loaded it is then told to render everything – once!
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.