ACF Local JSON

Hi!

Leveraging ACF Local JSON significantly boosts the ACF performance.

Since ACF Pro is deeply supported by Pro, would it be possible to natively keep the acf-json folder and point ACF to save and load from it?

Or perhaps this is already being handled by Pro? I’m sorry, I haven’t got the chance to check out.

Non-tech users could benefit from this, if it was set up behind the scenes for them.

Thanks!

2 Likes

Nice one. Hadn’t seen this before. From looking at the information in the link you provided and adding the acf-json folder to my child theme I think it should just work.

Or at least the json files were added to my child theme after creating the folder and re-saving the ACF groups.

I think it probably just works if you have the folder and have re-saved all your ACF stuff but I haven’t looked at the code.

2 Likes

Yes, it does work in the Child theme, or in an external folder with a function pointing ACF to it.

I feel like the (existing) act of installing ACF from Pro’s backend could trigger creating this folder and activating the function, so it gets set up behind the scene.

Its existence reduces database calls and significantly improves ACFs performance.

2 Likes

Yeah we can definitely add a folder and point ACF to it. I guess since we don’t send any field groups or ACF data, it partially feels better to add this to our child themes, but I’ll look more into how this works later.

2 Likes