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

Fix cache headers for static files #498

Merged
merged 1 commit into from
Sep 29, 2023
Merged

Fix cache headers for static files #498

merged 1 commit into from
Sep 29, 2023

Conversation

mtlynch
Copy link
Owner

@mtlynch mtlynch commented Sep 29, 2023

We accidentally broke caching for static files in #452 because the technique we were using to look up last modification times of files broke when we started embedding them in the binary.

As a workaround, we now use the last modification time based on the first time the static serving function is called.

Resolves #496

We accidentally broke caching for static files in #452 because the technique we were using to look up last modification times of files broke when we started embedding them in the binary.

As a workaround, we now use the last modification time based on the first time the static serving function is called.

Resolves #496
@mtlynch mtlynch merged commit 9db1c99 into master Sep 29, 2023
@mtlynch mtlynch deleted the fix-cache branch September 29, 2023 01:34
@github-actions github-actions bot locked and limited conversation to collaborators Sep 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cache static files
1 participant