Cache is Not Automatically Flushed When `_fields` Parameter is Specified
-
Hello,
Thank you for creating this fantastic plugin.I’ve noticed the plugin is not automatically flushing the cache for any Request URIs with the
_fieldsparameter specified.Is this behavior expected?
For example:
1. List tags with
_fieldsparam:
GET /wp/v2/tags?page=1&_fields=id,slug
Returns: Tag1, Tag2, Tag32. Create a new tag:
POST /wp/v2/tags (data: {name: 'Tag0'})3. List tags with
_fieldsparam again:
GET /wp/v2/tags?page=1&_fields=id,slug
Expected Return: Tag0, Tag1, Tag2, Tag3
Actual Return: Tag1, Tag2, Tag3Listing tags without the
_fieldsparameter specified consistently returns the expected data.Thanks,
Aaron
The topic ‘Cache is Not Automatically Flushed When `_fields` Parameter is Specified’ is closed to new replies.