Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set timestamp in output jars from SBT
Since SBT 1.4.0, SBT has edited the last modified dates in packaged JARs, which include web assets (css, js, etc.); Grid's current version sets the date to 1 Jan 2010. Play framework uses these dates to calculate the ETag and Last-Modified headers. Since the headers are now based upon a static date, caching (especially via Cloudfront) is broken, returning outdated assets. This commit restores the previous behaviour, so cloudfront should now notice and pick up new assets upon deployment. See also <playframework/playframework#10572> See also <sbt/sbt#6237>
- Loading branch information