Home › Forums › Feature Requests › Anyway to store the JSON from PHP › Reply To: Anyway to store the JSON from PHP
Hi @geoff-grav
The main benefit for JSON is the ability to sync the JSON data to and from the database, and also the ability to simply drop a JSON file into your theme’s acf-json
folder.
Sharing field groups between projects is a good example of why this is easier than PHP.
performance should be similar between PHP and JSON, if neither had field groups in the database.
If you are experiencing slowdown issues in the admin, this will most likely be due to HTML and JS, not PHP.
Check your page source. How many lines of HTML are in the ‘slow’ admin page?
Next, disable JS. What is the time difference when JS in enabled/disabled?
If the issue is JS, perhaps you have some complex conditional logic? This can slow down your page load if using large amounts of nested fields. The latest ACF PRO contains some JS performance improvements, but this is simply a limitation of our browsers at the current time.
Cheers
E
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.