Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@mergify
Copy link
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 19, 2025
@mergify mergify bot merged commit ee4339d into 2.9.x Feb 19, 2025
27 checks passed
@mergify mergify bot deleted the mergify/bp/2.9.x/pr-12895 branch February 19, 2025 01:04
@mkurz mkurz added this to the 2.9.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.

3 participants