• Resolved altoscameron

    (@altoscameron)


    Hi guys, I’m running a headless chrome / laravel site. I wanted to know if you had a hook for when rest api cache is cleared so I can trigger a url hook to laravel to clear cache there as well.

    Thoughts?
    thanks in advance.
    -Cameron

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Richard Korthuis

    (@rockfire)

    Hi @altoscameron

    Thank you for using our plugin!

    No, at this point we do not have a hook for when a cache record is cleared. We never had the need, since the cache clearing is done on default WordPress hooks (like save_post, delete_post, …). I do however understand your question and want to discuss internally if we can add such a hook. What parameters would be useful to you, which should be returned by the hook? I.e. what information do you need to clear the laravel cache?

    Plugin Author Richard Korthuis

    (@rockfire)

    This thread has been marked as resolved due to lack of activity.

    You’re always welcome to open a new topic.

    Thanks for understanding!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Do you have a hook for when cache is cleared?’ is closed to new replies.