Add caching to month summary results
This commit is contained in:
9
src/Solar.Api/Constants/CacheKeys.cs
Normal file
9
src/Solar.Api/Constants/CacheKeys.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
namespace Solar.Api.Constants;
|
||||
|
||||
internal static class CacheKeys
|
||||
{
|
||||
public static string GetMonthSummaryCacheKey(string source, int year, int month)
|
||||
{
|
||||
return $"month-summary-{source}-{year}-{month}";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user