Hello Looker Community,
I am trying to understand how Looker default caching works. This is what I have understand so far
Same steps (above) applies if we use ‘persist_for’
Did I understand correctly?
Much appreciated! 🙂
Thank you
Raman
Solved! Go to Solution.
Hey @rsingh,
That summation of the caching policy sounds spot on. This article adds a few more details. Persist_for will let you override the default caching policy on the specific objects e.g. explore or models in which it is applied to. This article describes how we can apply a persist_for parameter. Model/explore persist_for control how long the query previously run in Looker is kept in memory.
I would also highly advise looking at our data groups and persist_with. These can be more precise and be reused on multiple objects.
Please let me know if you have any questions!
Thanks,
Eric