servers when it is changed/removed. Removes RemoveByJson as we only actually require RefreshByJson since we can put any sort of parameters in a custom json string including whether it is a remove operation (if required)
16 lines
506 B
C#
16 lines
506 B
C#
using umbraco.interfaces;
|
|
|
|
namespace Umbraco.Core.Cache
|
|
{
|
|
/// <summary>
|
|
/// A cache refresher that supports refreshing or removing cache based on a custom Json payload
|
|
/// </summary>
|
|
interface IJsonCacheRefresher : ICacheRefresher
|
|
{
|
|
/// <summary>
|
|
/// Refreshes, clears, etc... any cache based on the information provided in the json
|
|
/// </summary>
|
|
/// <param name="jsonPayload"></param>
|
|
void Refresh(string jsonPayload);
|
|
}
|
|
} |