Hello, I have a scenario where the data for cached CSV and a JSON data is not in sync, one type has more data than the other, how can this be the case? I am using the [CacheResponse(Duration = 3600, MaxAge = 1800)] decorator, not sure how to control the TTL on specifically the CSV and JSON datasets, any help is appreciated. Thanks
Caches are only created on demand when they’re accessed, so if the different formats are accessed at different times, they’ll be created at different times.
Thanks, that’s what I figured but needed to confirm, would you know the default TTL on these?
The default expiry should be 10 minutes:
1 Like