I would like to implement two different ways of loading my data if it was already cached or not.
if it's not cached I will load it by Ajax at page load, and then once it cached I would like to load it directly from the view context. how can I test if such cache exist with this caching settings:
@cached_as(obj, extra=['sample_detail_plot', user])
I would like to implement two different ways of loading my data if it was already cached or not.
if it's not cached I will load it by Ajax at page load, and then once it cached I would like to load it directly from the view context. how can I test if such cache exist with this caching settings:
@cached_as(obj, extra=['sample_detail_plot', user])