Closed pascalopitz closed 2 years ago
I assume that before the actual file meta data could be used as last-modified
, whereas for embedded assets that's not happening? We can think of the startup time as the last time something gets modified though,
This is elegant and a far simpler fix than the one I was thinking of :)
Well, my first thought was "ETAG" but I think this works just as well
Fixes #128
Well my thought was:
Works because we never need to invalidate any cache even when files change as the changed files are new files and templates would always point at new files.
Also would allow the hashes to be accessed for subresource integrity.
This controls caching behavior via using the startup time as
last-modified
and subsequent validation ofif-modified-since