Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Don't set Last-Modified if mtime is Unix epoch#488

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

akhilles
Copy link
Contributor

Resolves#487

If the file's modified time is the UNIX epoch, then it's likely not valid and should not be included in the Last-Modified header to avoid cache revalidation issues. Tested on a NixOS container.

Resolves#487Signed-off-by: Akhil Velagapudi <4@4khil.com>
@semanticdiff-comSemanticDiff.com
Copy link

semanticdiff-combot commentedOct 14, 2024
edited
Loading

Review changes withSemanticDiff.

Analyzed 1 of 1 files.

Overall, the semantic diff is63% smaller than the GitHub diff.

FilenameStatus
✔️src/response.rs62.5% smaller

@joseluisqjoseluisq added enhancementNew feature or request v2v2 release labelsOct 14, 2024
Copy link
Collaborator

@joseluisqjoseluisq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Thanks!

@joseluisqjoseluisq merged commitde8482d intostatic-web-server:masterOct 14, 2024
38 checks passed
@joseluisqjoseluisq added this to thev2.33.1 milestoneNov 2, 2024
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@joseluisqjoseluisqjoseluisq approved these changes

Assignees
No one assigned
Labels
enhancementNew feature or requestv2v2 release
Projects
None yet
Milestone
v2.33.1
Development

Successfully merging this pull request may close these issues.

Don't set "Last-Modified" if mtime is Unix epoch
2 participants
@akhilles@joseluisq

[8]ページ先頭

©2009-2025 Movatter.jp