Skip to content

Revert "Improve static deploy" #2621

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

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
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy