Question

Determine if data is from cache

  • 20 April 2020
  • 3 replies
  • 60 views

Hi,



Is there a way to determine if data retrieval is from cache from get_look API, https://docs.looker.com/reference/api-and-integration/api-reference/v3.1/look#get_look?



Thanks,


3 replies

Userlevel 7
Badge +1

Hi @dj200



For a Look/Explore you can see details in the top right corner:



image



I don’t believe we can see that in the Dashboards

Thanks, @Dawid_Nawrot. It seems, I can only access cache status from UI, but not from API, correct?

Userlevel 7
Badge +1

If you use the json_detail result_format, you should get back some cache related parameters (like from_cache) that tell you if the results were cached and if so, how old they are.

Reply