Quantcast
Channel: Optimizely Search & Navigation
Viewing all articles
Browse latest Browse all 6894

Invalidate cached results of "StaticallyCacheFor"

$
0
0

Just say I have follwoing to fetch data

var result = client.Search<BlogPost>()
    .StaticallyCacheFor(TimeSpan.FromMinutes(10))
    .GetResult();

After 6 minutes (when I do a change in BlogPost model), how can I invalidate this statically cached data and get data with cahnges


Viewing all articles
Browse latest Browse all 6894

Trending Articles