Found it. Managed to find that Last-modified was set in info.magnolia.module.cache.executor.Store. The issue was with our massive js-file (>1mB). Magnolia handles resources greater than 500 kB as a DelegatingBlobCachedEntry instead of as a InMemoryCachedEntry and this resulted in that Last-modified did not get set. We could store the js-file as a InMemoryCachedEntry by increasing the threshold in info.magnolia.module.cache.executor.Store, but I am not sure if that would be the way to go yet.
I found this thread helpful: https://forums.magnolia-cms.com/forum/thread.html?threadId=aa9ad5f2-5e7e-4ab6-b3c7-921065664420 -- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=af9feb93-e9b4-48a8-87ba-470b4dc16e8e ---------------------------------------------------------------- For list details, see http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to: <user-list-unsubscr...@magnolia-cms.com> ----------------------------------------------------------------