Add whether the current content is published. Allowing for compression of just non published, non media content.
This commit is contained in:
@@ -7,6 +7,6 @@ namespace Umbraco.Core.PropertyEditors
|
||||
/// </summary>
|
||||
internal class NoopPropertyCacheCompressionOptions : IPropertyCacheCompressionOptions
|
||||
{
|
||||
public bool IsCompressed(IReadOnlyContentBase content, PropertyType propertyType, IDataEditor dataEditor) => false;
|
||||
public bool IsCompressed(IReadOnlyContentBase content, PropertyType propertyType, IDataEditor dataEditor,bool published) => false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user