Set Cache Time

Thursday, March 28, 2024 12:35:49 PM
  • Posted: Thursday, November 16, 2017 7:08 AM
  • 5
Hi,

How can I set the time for the cache to expire?

Thank you.
0
  • Posted: Thursday, November 16, 2017 10:23 AM
  • 953
Hello Desmond,

Please change it here:

Grand.Core.Caching
File: CacheExtensions.cs
Variable DefaultCacheTimeMinutes
Best regards,
Patryk

GrandNode Team
0
  • Posted: Thursday, November 16, 2017 10:31 AM
  • 5
Hello,

I am currently using Grandnode version 3.9 and I cant find the variable "DefaultCacheTimeMinutes".

Is there any changes for Cache in version 4.0 compare to version 3.9?

Thank you.
0
  • Posted: Thursday, November 16, 2017 10:39 AM
  • 953
In 3.90 version you should look for "cacheTime" setting in web.config file.
Best regards,
Patryk

GrandNode Team
0
  • Posted: Friday, November 17, 2017 7:23 AM
  • 5
At there I can change the cache time?
0
  • Posted: Friday, November 17, 2017 8:58 AM
  • 953
Yes, just change the value of this field.
Best regards,
Patryk

GrandNode Team
0
  • Posted: Friday, November 17, 2017 9:00 AM
  • 5
Is it in "Minute"?
0
  • Posted: Friday, November 17, 2017 10:03 AM
  • 953
It's standard - in minutes.
Best regards,
Patryk

GrandNode Team
0
  • Posted: Friday, November 17, 2017 10:06 AM
  • 5
Ok, thank you for the help.
0
back to top
Filters