VahidN / EFSecondLevelCache.Core

Entity Framework Core Second Level Caching Library
Apache License 2.0
326 stars 51 forks source link

Variable item expiration #37

Closed jasenf closed 5 years ago

jasenf commented 5 years ago

Hi again

What's the best way to implement specific cache expiration rules for a single query? We have one query that needs to be refreshed much more frequently than the other 99% of queries. It would be nice if there were a simple override to Cacheable() that just let us pass TotalSeconds to cache.

thanks! jasen

VahidN commented 5 years ago

Added it via #https://github.com/VahidN/EFSecondLevelCache.Core/commit/97eb7dac2c05a5586b6c5ba669bd99d8589f0239

lock[bot] commented 4 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related problems.