Reason for ClearCacheTask to run every 60 sec.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
13 years ago
Hi,

I am running v 1.60 and I really haven't noticed the following in web.config until today:
<task name="ClearCache" type="NopSolutions.NopCommerce.BusinessLogic.Caching.ClearCacheTask, Nop.BusinessLogic" enabled="true" stopOnError="false" />

Do anyone know the reason why this is enabled by default and why it needs to run each 60 secs?

I would really like to change it to run once every couple of hours or maybe disable it completely, I see it's disabled in v1.9 but perhaps there are a reason to why the cache must be cleared every minute in v1.60.

Anyone?

Thanks.
13 years ago
There's no any particular reason to have it enabled. But sometimes your cache can grow, and it allows to clear it. You can change this setting to run once per hour or disable it. Everything will continue to work fine
13 years ago
Thanks a lot Andrei, I will try to find the best setting for my shop then.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.