Thanks for the additional insight! To clarify... I know very little about how caching works, and I was just reporting what changed recently so we can track down where to look :)
So just to confirm... you're saying that this used to work in ProGet 6.0, but it's not working after you upgraded to ProGet 2022? If that's the case, then it would very likely be the platform change.
@pfeigl said in Assets do not return Last-Modified header (anymore?):
Anyways, I guess our question simply is: Is it reasonable for you to (re-)add this header in a future version? It feels like a simple change, as the asset UI already shows this exact field.
Yes, we just need to track down exactly what the issue is :)
Our platform code does seem to look for an If-Modified-Since
header, and then sends a 304 if the dates are within a minute of each other. So I guess that works.
But then this code, when sending response headers, looks pretty suspicious to me.... I wonder if he should be setting the Last-Modified
header instead of Date