Third try to implement cache control