Hot answers tagged


Finally found what was the root cause. There is an issue with BinaryFileManager.IsCached method. It does not account if file was unpublished. When you call IsCached method it will get lastPublishedDate, however lastPublishedDate for unpublished binary file is DateTime.MinValue. Based on my testing IsCached method does not handle situation when ...


It seems you are right that cached Binary files are no longer automatically removed when the Binary is unpublished. The cleanup code was removed in DXA 1.8:

Only top voted, non community-wiki answers of a minimum length are eligible