Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: set last-modified header with build time #6

Merged
merged 1 commit into from
Dec 19, 2023
Merged

Conversation

ctrox
Copy link
Contributor

@ctrox ctrox commented Dec 18, 2023

As the source files in the reulting buildpack always have the same timestamp, we work around this by setting the last-modified header in the nginx.conf to the current time at build time. This makes caching work at least somewhat.

Copy link

@thirdeyenick thirdeyenick left a comment

Choose a reason for hiding this comment

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

Looks good

As the source files in the reulting buildpack always have the same
timestamp, we work around this by setting the last-modified header in
the nginx.conf to the current time at build time. This makes caching
work at least somewhat.
@ctrox ctrox force-pushed the last-modified-header branch from 5946a53 to 701d1bd Compare December 19, 2023 07:29
@ctrox ctrox merged commit dfb7ed7 into main Dec 19, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants