A new release of Marvin.Cache.Headers has just been pushed to NuGet. This one adds support for accessing the ValidatorValue from the ResourceContext when working with a custom ILastModifiedInjector. This enables scenarios in which you can potentially set the LastModified data to whatever was stored in that ValidatorValue for the resource you’re working with.
Next to that, by allowing access to the validator value, Last-Modified dates, which are implicitly weak validators, can be transformed to strong validators as it allows the origin server access to the actual current validator for that resource.
Shoutout to @cumpsd for his work on this!