Cache control directives indicate how long a browser, proxy etc can store a resource for… they don’t guarantee they will store it for that long though
Control over Service Workers cache lifetime is more explicit
I’d still specify ‘good’ cache lifetimes though