You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, when using the REST API, this does not happen yet. So changes made via the REST API are not immediately visible to visitors.
Instead, all modifying operations (create, update, delete) affecting public data should call the cache purge above.
(Alternatively, add an API endpoint to clear the caches. But I don't think that this is a responsibility for the API user. It should happen automatically.)
Content changes using the forms in the WordPress admin are trigger a cache purge:
However, when using the REST API, this does not happen yet. So changes made via the REST API are not immediately visible to visitors.
Instead, all modifying operations (create, update, delete) affecting public data should call the cache purge above.
(Alternatively, add an API endpoint to clear the caches. But I don't think that this is a responsibility for the API user. It should happen automatically.)
via podlove/documentation#42
The text was updated successfully, but these errors were encountered: