simplified cachebuster logic copied