You would need to use Service Workers to use that header the way OP wants it, since he wants to have the HTML page decide when the resources of that page need to become stale. Fingerprinting resources with the hash of the content works a lot better for that.
This already exists: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If...