zendesk_api_client_rb
zendesk_api_client_rb copied to clipboard
Search api - how to stop using cache - to fetch real data every time
when I use client.search(query: search_param, :reload => true) I get real data (not cached) after 2 mins.
Is there anyway I get the search results immediately, I mean by completely avoiding cache.
Currently I use reload: true & fetch(true) on search results. This helps me get the latest data after 2 mins.
Is there anyway I can avoid waiting 2 mins, so that I get the immediate proper search result.
Thanks in advance!
+1 to this. Currently doing a search to return tickets with certain tags, getting results from the api of tickets that no longer have the tag :(