This repository has been archived on 2025-05-14. You can view files and clone it, but cannot push or open issues or pull requests.
2025-03-03 17:54:33 +01:00

19 lines
467 B
C#

using System.Threading;
using System.Threading.Tasks;
namespace Oqtane.Services
{
/// <summary>
/// Service to manage cache
/// </summary>
public interface ICacheService
{
/// <summary>
/// Evicts the output cache for a specific tag
/// </summary>
/// <param name="tag"></param>
/// <returns></returns>
Task EvictOutputCacheByTag(string tag, CancellationToken cancellationToken = default);
}
}