Skip to content

[3.0.x] Documentation Update: Asset timestamp handling with sbt (backport #12895) by @RommelTJ#13128

Merged
mergify[bot] merged 1 commit into
3.0.xfrom
mergify/bp/3.0.x/pr-12895
Feb 19, 2025
Merged

[3.0.x] Documentation Update: Asset timestamp handling with sbt (backport #12895) by @RommelTJ#13128
mergify[bot] merged 1 commit into
3.0.xfrom
mergify/bp/3.0.x/pr-12895

Conversation

@mergify
Copy link
Copy Markdown
Contributor

@mergify mergify Bot commented Feb 18, 2025

Resolves #10572

Pull Request Checklist

Helpful things

Fixes

Closes #10572

Purpose

Updates AssetsOverview.md with documentation on the behavior of the Last-Modified header. Includes an explanation of the issue, and a workaround.

Background Context

  1. Built a Hello World application using Play Framework.
  2. Added this line to build.sbt: ThisBuild / packageOptions += Package.FixedTimestamp(Package.keepTimestamps).
  3. Built with sbt clean universal:packageZipTarball.
  4. Deployed app and sent a GET request to {host}/assets/images/favicon.png and inspected the image headers. Verified the Last-Modified header is now correctly set.
  5. Updated documentation.

References


This is an automatic backport of pull request #12895 done by [Mergify](https://mergify.com).

Resolves #10572

(cherry picked from commit 8e2b35e)
mergify Bot added a commit that referenced this pull request Feb 18, 2025
@mergify mergify Bot merged commit 956b5e0 into 3.0.x Feb 19, 2025
@mergify mergify Bot deleted the mergify/bp/3.0.x/pr-12895 branch February 19, 2025 00:29
@mkurz mkurz added this to the 3.0.7 milestone Mar 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants