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
I'm creating an API for a react native app to consume and would like to do some cache busting in the background, I'm currently able to achieve the results I want with
craft()->cache->flush()
but that clears the entire entry cache, I would like to manually delete the element api cache but can't for the life of me work out what the key is. Is there anyone that can assist me?
Thanks
The text was updated successfully, but these errors were encountered:
It's a combination of elementapi: + the current URL path + : + the current URL query string. You'd want to use craft()->cache->delete() to delete specific keys instead of flush() which deletes everything.
Hi all,
I'm creating an API for a react native app to consume and would like to do some cache busting in the background, I'm currently able to achieve the results I want with
craft()->cache->flush()
but that clears the entire entry cache, I would like to manually delete the element api cache but can't for the life of me work out what the key is. Is there anyone that can assist me?
Thanks
The text was updated successfully, but these errors were encountered: