Base solution for your next web application
Open Closed

How can I set the cache expire time with ICacheManager? #1235


User avatar
0
winson created

I am using the default ICacheManager, so should be use MemoryCache, but how can I set the expire time for it? and what's the default expire time?

thanks!


2 Answer(s)
  • User Avatar
    0
    cosmic created

    Did you read the documentation? [http://aspnetboilerplate.com/Pages/Documents/Caching#configuration])

    Default expire times can you see here: [https://github.com/aspnetboilerplate/aspnetboilerplate/blob/master/src/Abp/AbpKernelModule.cs#L119])

  • User Avatar
    0
    winson created

    Oh, sorry, I didn't read that careful :(

    thank you!!