Home › Forums › Backend Issues (wp-admin) › Best practices for better performance › Reply To: Best practices for better performance
I use tabs a lot too, and I was thinking that we could take advantage of them to load assets (scripts, field images etc) in a smarter way. For example, when the post edit screen opens, it would only load the js and images of the fields that exist under the first tab. If the other tabs contain fields with extra scripts and images (for example Google Maps), then it would load them only when you click on the specific tabs.
If the same could be done with db queries it would be perfect, but I imagine that this would be tricky. Scripts and images, on the other hand, sounds more feasible.
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.