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

Revert "Improve static deploy" #2621

Merged
merged 1 commit into from
Sep 30, 2024
Merged

Revert "Improve static deploy" #2621

merged 1 commit into from
Sep 30, 2024

Conversation

ewdurbin
Copy link
Member

Reverts #2609

  1. It didn't work, the add headers function didn't seem to do what it said on the tin and the postdeploy command wasn't accessible to manage.py (since pydotorg app isn't directly installed).
  2. This would have made things.... worse? Since old cached pages would have no chance of getting their static asset versions.

A better approach would be to not cache 404s for /static.

@ewdurbin ewdurbin merged commit 4c44d80 into main Sep 30, 2024
6 checks passed
@ewdurbin ewdurbin deleted the revert-2609-static_deploy branch September 30, 2024 19:06
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