Log1x / acf-composer

Compose ACF Fields, Blocks, Widgets, and Option Pages with ACF Builder on Sage 10.
https://github.com/Log1x/acf-composer
MIT License
398 stars 53 forks source link

Dont cache fields in development env? #236

Closed djaevlen closed 3 months ago

djaevlen commented 3 months ago

Is it possible to disable caching of fields in development env? Everytime I make a change to a field I need to run wp acorn acf:cache for it to apply my changes.

I tried to set the manifest path to null but no luck:

[
     'manifest' => WP_ENV === 'development' ? null : storage_path('framework/cache'),
]
Log1x commented 3 months ago

You can clear it with acf:clear – it doesn't automatically cache itself.

djaevlen commented 3 months ago

Ahhh my understanding from the docs, was that it would automatically cache itself on every field change. Makes sense now, thanks!