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.
The latest release can be found on NuGet. Source code on GitHub as usual.
Shoutout to @cumpsd for his work on this!
[…] Marvin.Cache.Headers 3.2.0 Released (Kevin Dockx) […]