corcel / corcel/acf

Flexible Content Field speed

Open
#24 18 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
132
Forks
102
PR merge metrics
No merged PRs in 30d

Description

Hey,

Thanks for developing this amazing package.
I'm testing the flexible content field as follows:

```
$page = Page::find(17);
$modules = $page->acf->flexibleContent('modules');
```

This alone takes 8+ seconds, which I'm assuming is due to the number of queries it has to make.
I have 2 layouts, both have repeaters in them, but they contain a few text and image fields. It seems it is returning all of the field data, but doing each field individually and probably generating a lot of queries to get to this.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.